home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Beta / Quicktime 2.0 Beta.iso / Tools / XCMDs / The QuickTime XCMDs < prev   
MacBinary  |  1994-04-29  |  614.6 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: The QuickTime XCMDs

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Apr 28 14:04:59 1994, modified Fri Apr 29 05:13:17 1994, creator 'HLX2', type 'ONLN', 622529 bytes "The QuickTime XCMDs" , at 0x98041 6611 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 54 68 65 20 51 75 | 69 63 6b 54 69 6d 65 20 |..The Qu|ickTime |
|00000010| 58 43 4d 44 73 00 00 00 | 00 00 00 00 00 00 00 00 |XCMDs...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 09 7f c1 00 | 00 19 d3 a9 e5 ab 4b a9 |........|......K.|
|00000060| e6 80 2d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..-.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 91 7b 00 00 |........|.....{..|
|00000080| 54 68 65 20 51 75 69 63 | 6b 54 69 6d 65 20 58 43 |The Quic|kTime XC|
|00000090| 4d 44 73 0d 4b 65 6e 20 | 44 6f 79 6c 65 0d 51 75 |MDs.Ken |Doyle.Qu|
|000000a0| 69 63 6b 54 69 6d 65 20 | 53 6f 66 74 77 61 72 65 |ickTime |Software|
|000000b0| 20 47 72 6f 75 70 0d 41 | 70 70 6c 65 20 43 6f 6d | Group.A|pple Com|
|000000c0| 70 75 74 65 72 2c 20 49 | 6e 63 2e 0d 41 70 72 69 |puter, I|nc..Apri|
|000000d0| 6c 20 32 36 2c 20 31 39 | 39 34 0d 49 20 61 6d 20 |l 26, 19|94.I am |
|000000e0| 6e 6f 74 20 61 6e 20 61 | 75 74 68 6f 72 20 28 6e |not an a|uthor (n|
|000000f0| 6f 72 20 64 6f 20 49 20 | 70 6c 61 79 20 6f 6e 65 |or do I |play one|
|00000100| 20 6f 6e 20 54 56 29 2e | 0d 54 68 65 20 51 75 69 | on TV).|.The Qui|
|00000110| 63 6b 54 69 6d 65 20 58 | 43 4d 44 73 20 61 72 65 |ckTime X|CMDs are|
|00000120| 20 61 20 73 6d 61 6c 6c | 20 73 65 74 20 6f 66 20 | a small| set of |
|00000130| 58 43 4d 44 73 20 74 68 | 61 74 20 61 6c 6c 6f 77 |XCMDs th|at allow|
|00000140| 20 48 79 70 65 72 43 61 | 72 64 20 75 73 65 72 73 | HyperCa|rd users|
|00000150| 20 61 63 63 65 73 73 20 | 74 6f 20 6d 61 6e 79 20 | access |to many |
|00000160| 6f 66 20 74 68 65 20 66 | 65 61 74 75 72 65 73 20 |of the f|eatures |
|00000170| 6f 66 20 74 68 65 20 51 | 75 69 63 6b 54 69 6d 65 |of the Q|uickTime|
|00000180| a8 20 6c 69 62 72 61 72 | 79 20 6f 66 20 73 6f 66 |. librar|y of sof|
|00000190| 74 77 61 72 65 2e 20 20 | 54 68 65 20 51 54 4d 6f |tware. |The QTMo|
|000001a0| 76 69 65 20 58 43 4d 44 | 20 63 61 6e 20 62 65 20 |vie XCMD| can be |
|000001b0| 75 73 65 64 20 74 6f 20 | 70 6c 61 79 20 51 75 69 |used to |play Qui|
|000001c0| 63 6b 54 69 6d 65 20 6d | 6f 76 69 65 73 20 65 69 |ckTime m|ovies ei|
|000001d0| 74 68 65 72 20 69 6e 20 | 61 20 77 69 6e 64 6f 77 |ther in |a window|
|000001e0| 20 6f 72 20 64 69 72 65 | 63 74 6c 79 20 6f 6e 74 | or dire|ctly ont|
|000001f0| 6f 20 74 68 65 20 73 63 | 72 65 65 6e 2e 20 54 68 |o the sc|reen. Th|
|00000200| 65 20 51 54 52 65 63 6f | 72 64 4d 6f 76 69 65 20 |e QTReco|rdMovie |
|00000210| 58 43 4d 44 20 64 69 73 | 70 6c 61 79 73 20 61 20 |XCMD dis|plays a |
|00000220| 77 69 6e 64 6f 77 20 69 | 6e 20 77 68 69 63 68 20 |window i|n which |
|00000230| 76 69 64 65 6f 20 63 6f | 6d 69 6e 67 20 66 72 6f |video co|ming fro|
|00000240| 6d 20 61 20 64 69 67 69 | 74 69 7a 65 72 20 63 61 |m a digi|tizer ca|
|00000250| 72 64 20 63 61 6e 20 62 | 65 20 76 69 65 77 65 64 |rd can b|e viewed|
|00000260| 2e 20 59 6f 75 20 63 61 | 6e 20 74 68 65 6e 20 73 |. You ca|n then s|
|00000270| 65 6e 64 20 63 6f 6d 6d | 61 6e 64 73 20 74 6f 20 |end comm|ands to |
|00000280| 74 68 65 20 77 69 6e 64 | 6f 77 20 74 6f 20 63 61 |the wind|ow to ca|
|00000290| 70 74 75 72 65 20 61 6e | 64 20 63 72 65 61 74 65 |pture an|d create|
|000002a0| 20 79 6f 75 72 20 6f 77 | 6e 20 6d 6f 76 69 65 73 | your ow|n movies|
|000002b0| 20 6f 72 20 70 69 63 74 | 75 72 65 20 66 69 6c 65 | or pict|ure file|
|000002c0| 73 2e 20 54 68 65 20 51 | 54 45 64 69 74 4d 6f 76 |s. The Q|TEditMov|
|000002d0| 69 65 20 58 43 4d 44 20 | 61 6c 6c 6f 77 73 20 79 |ie XCMD |allows y|
|000002e0| 6f 75 20 74 6f 20 70 65 | 72 66 6f 72 6d 20 76 61 |ou to pe|rform va|
|000002f0| 72 69 6f 75 73 20 65 64 | 69 74 69 6e 67 20 66 75 |rious ed|iting fu|
|00000300| 6e 63 74 69 6f 6e 73 20 | 69 6e 63 6c 75 64 69 6e |nctions |includin|
|00000310| 67 20 63 75 74 2c 20 63 | 6f 70 79 2c 20 61 6e 64 |g cut, c|opy, and|
|00000320| 20 70 61 73 74 65 20 6f | 66 20 20 69 6e 64 69 76 | paste o|f indiv|
|00000330| 69 64 75 61 6c 20 74 72 | 61 63 6b 73 20 61 6d 6f |idual tr|acks amo|
|00000340| 6e 67 20 64 69 66 66 65 | 72 65 6e 74 20 6d 6f 76 |ng diffe|rent mov|
|00000350| 69 65 73 2c 20 61 64 64 | 69 6e 67 20 74 65 78 74 |ies, add|ing text|
|00000360| 20 74 72 61 63 6b 73 20 | 74 6f 20 61 20 6d 6f 76 | tracks |to a mov|
|00000370| 69 65 2c 20 73 65 74 74 | 69 6e 67 20 61 20 63 6c |ie, sett|ing a cl|
|00000380| 69 70 20 72 65 67 69 6f | 6e 20 6f 6e 20 61 20 6d |ip regio|n on a m|
|00000390| 6f 76 69 65 2c 20 61 6e | 64 20 6d 61 6e 79 20 6f |ovie, an|d many o|
|000003a0| 74 68 65 72 20 65 64 69 | 74 69 6e 67 20 66 75 6e |ther edi|ting fun|
|000003b0| 63 74 69 6f 6e 73 2e 20 | 54 68 65 20 51 54 50 69 |ctions. |The QTPi|
|000003c0| 63 74 20 58 43 4d 44 20 | 70 65 72 66 6f 72 6d 73 |ct XCMD |performs|
|000003d0| 20 61 20 76 61 72 69 65 | 74 79 20 6f 66 20 73 74 | a varie|ty of st|
|000003e0| 69 6c 6c 20 70 69 63 74 | 75 72 65 20 72 65 6c 61 |ill pict|ure rela|
|000003f0| 74 65 64 20 75 74 69 6c | 69 74 69 65 73 20 69 6e |ted util|ities in|
|00000400| 63 6c 75 64 69 6e 67 20 | 64 69 73 70 6c 61 79 69 |cluding |displayi|
|00000410| 6e 67 20 61 20 70 69 63 | 74 75 72 65 20 6f 6e 20 |ng a pic|ture on |
|00000420| 61 20 63 61 72 64 2c 20 | 63 6f 6d 70 72 65 73 73 |a card, |compress|
|00000430| 69 6e 67 20 70 69 63 74 | 75 72 65 73 2c 20 61 6e |ing pict|ures, an|
|00000440| 64 20 61 6c 6c 6f 77 69 | 6e 67 20 63 6f 6e 74 72 |d allowi|ng contr|
|00000450| 6f 6c 20 6f 76 65 72 20 | 74 68 65 20 63 6c 69 70 |ol over |the clip|
|00000460| 70 69 6e 67 20 72 65 67 | 69 6f 6e 20 6f 66 20 74 |ping reg|ion of t|
|00000470| 68 65 20 63 61 72 64 20 | 77 69 6e 64 6f 77 2e 20 |he card |window. |
|00000480| 0d 49 74 20 69 73 20 72 | 65 63 6f 6d 6d 65 6e 64 |.It is r|ecommend|
|00000490| 65 64 20 74 68 61 74 20 | 79 6f 75 20 67 69 76 65 |ed that |you give|
|000004a0| 20 48 79 70 65 72 43 61 | 72 64 20 61 74 20 6c 65 | HyperCa|rd at le|
|000004b0| 61 73 74 20 61 20 74 77 | 6f 20 6d 65 67 61 62 79 |ast a tw|o megaby|
|000004c0| 74 65 20 70 61 72 74 69 | 74 69 6f 6e 20 77 68 65 |te parti|tion whe|
|000004d0| 6e 20 75 73 69 6e 67 20 | 74 68 65 20 51 75 69 63 |n using |the Quic|
|000004e0| 6b 54 69 6d 65 20 58 43 | 4d 44 73 2e 0d 54 68 65 |kTime XC|MDs..The|
|000004f0| 20 51 54 4d 6f 76 69 65 | 20 58 43 4d 44 3a 20 47 | QTMovie| XCMD: G|
|00000500| 65 74 74 69 6e 67 20 53 | 74 61 72 74 65 64 0d 54 |etting S|tarted.T|
|00000510| 68 65 20 51 54 4d 6f 76 | 69 65 20 58 43 4d 44 20 |he QTMov|ie XCMD |
|00000520| 61 6c 6c 6f 77 73 20 79 | 6f 75 20 74 6f 20 70 6c |allows y|ou to pl|
|00000530| 61 79 20 6d 6f 76 69 65 | 73 20 69 6e 20 61 20 77 |ay movie|s in a w|
|00000540| 69 6e 64 6f 77 20 69 6e | 20 48 79 70 65 72 43 61 |indow in| HyperCa|
|00000550| 72 64 2c 20 75 73 69 6e | 67 20 48 79 70 65 72 43 |rd, usin|g HyperC|
|00000560| 61 72 64 20 32 2e 30 27 | 73 20 58 57 69 6e 64 6f |ard 2.0'|s XWindo|
|00000570| 77 20 66 61 63 69 6c 69 | 74 79 2e 20 41 6e 20 61 |w facili|ty. An a|
|00000580| 6c 74 65 72 6e 61 74 69 | 76 65 20 6d 65 74 68 6f |lternati|ve metho|
|00000590| 64 20 63 61 6c 6c 65 64 | 20 44 69 72 65 63 74 20 |d called| Direct |
|000005a0| 6d 6f 76 69 65 73 20 64 | 6f 65 73 20 6e 6f 74 20 |movies d|oes not |
|000005b0| 70 6c 61 79 20 69 6e 74 | 6f 20 61 20 73 65 70 61 |play int|o a sepa|
|000005c0| 72 61 74 65 20 77 69 6e | 64 6f 77 20 62 75 74 20 |rate win|dow but |
|000005d0| 72 61 74 68 65 72 20 70 | 6c 61 79 73 20 64 69 72 |rather p|lays dir|
|000005e0| 65 63 74 6c 79 20 69 6e | 74 6f 20 74 68 65 20 63 |ectly in|to the c|
|000005f0| 61 72 64 20 77 69 6e 64 | 6f 77 27 73 20 70 6f 72 |ard wind|ow's por|
|00000600| 74 2e 20 54 68 69 73 20 | 6d 65 74 68 6f 64 20 68 |t. This |method h|
|00000610| 61 73 20 73 6f 6d 65 20 | 61 64 76 61 6e 74 61 67 |as some |advantag|
|00000620| 65 73 20 61 6e 64 20 64 | 69 73 61 64 76 61 6e 74 |es and d|isadvant|
|00000630| 61 67 65 73 2c 20 62 75 | 74 20 69 6e 20 70 61 72 |ages, bu|t in par|
|00000640| 74 69 63 75 6c 61 72 20 | 61 6c 6c 6f 77 73 20 6f |ticular |allows o|
|00000650| 6e 65 20 74 6f 20 75 73 | 65 20 74 68 65 20 58 43 |ne to us|e the XC|
|00000660| 4d 44 20 69 6e 20 53 75 | 70 65 72 43 61 72 64 20 |MD in Su|perCard |
|00000670| 61 6e 64 20 4d 61 63 72 | 6f 6d 69 6e 64 20 44 69 |and Macr|omind Di|
|00000680| 72 65 63 74 6f 72 2e 20 | 44 69 72 65 63 74 20 4d |rector. |Direct M|
|00000690| 6f 76 69 65 73 20 61 72 | 65 20 64 69 73 63 75 73 |ovies ar|e discus|
|000006a0| 73 65 64 20 6c 61 74 65 | 72 2e 20 0d 57 69 6e 64 |sed late|r. .Wind|
|000006b0| 6f 77 20 4d 6f 76 69 65 | 73 0d 50 6c 61 79 69 6e |ow Movie|s.Playin|
|000006c0| 67 20 61 20 6d 6f 76 69 | 65 20 69 6e 20 61 20 77 |g a movi|e in a w|
|000006d0| 69 6e 64 6f 77 20 69 73 | 20 61 73 20 73 69 6d 70 |indow is| as simp|
|000006e0| 6c 65 20 61 73 20 73 65 | 6e 64 69 6e 67 20 74 68 |le as se|nding th|
|000006f0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 6d 6d |e follow|ing comm|
|00000700| 61 6e 64 20 28 65 69 74 | 68 65 72 20 66 72 6f 6d |and (eit|her from|
|00000710| 20 74 68 65 20 6d 65 73 | 73 61 67 65 20 62 6f 78 | the mes|sage box|
|00000720| 20 6f 72 20 66 72 6f 6d | 20 61 20 48 79 70 65 72 | or from| a Hyper|
|00000730| 54 61 6c 6b 20 73 63 72 | 69 70 74 29 3a 0d 51 54 |Talk scr|ipt):.QT|
|00000740| 4d 6f 76 69 65 20 20 4f | 70 65 6e 4d 6f 76 69 65 |Movie O|penMovie|
|00000750| 2c 20 44 6f 63 75 6d 65 | 6e 74 2c 20 22 4d 79 44 |, Docume|nt, "MyD|
|00000760| 69 73 6b 3a 4d 79 4d 6f | 76 69 65 22 2c 20 22 32 |isk:MyMo|vie", "2|
|00000770| 30 2c 32 30 22 0d 09 0d | 41 20 64 6f 63 75 6d 65 |0,20"...|A docume|
|00000780| 6e 74 20 74 79 70 65 20 | 77 69 6e 64 6f 77 20 77 |nt type |window w|
|00000790| 69 6c 6c 20 61 70 70 65 | 61 72 20 77 69 74 68 20 |ill appe|ar with |
|000007a0| d2 4d 79 4d 6f 76 69 65 | d3 20 70 6c 61 79 69 6e |.MyMovie|. playin|
|000007b0| 67 20 61 74 20 6c 6f 63 | 61 74 69 6f 6e 20 32 30 |g at loc|ation 20|
|000007c0| 2c 32 30 20 77 69 74 68 | 69 6e 20 74 68 65 20 63 |,20 with|in the c|
|000007d0| 61 72 64 20 77 69 6e 64 | 6f 77 2e 20 59 6f 75 20 |ard wind|ow. You |
|000007e0| 63 61 6e 20 74 68 65 6e | 20 75 73 65 20 61 6c 6c |can then| use all|
|000007f0| 20 74 68 65 20 66 65 61 | 74 75 72 65 73 20 6f 66 | the fea|tures of|
|00000800| 20 74 68 65 20 6d 6f 76 | 69 65 20 63 6f 6e 74 72 | the mov|ie contr|
|00000810| 6f 6c 6c 65 72 20 74 68 | 61 74 20 61 70 70 65 61 |oller th|at appea|
|00000820| 72 73 20 61 74 20 74 68 | 65 20 62 6f 74 74 6f 6d |rs at th|e bottom|
|00000830| 20 6f 66 20 74 68 65 20 | 77 69 6e 64 6f 77 20 74 | of the |window t|
|00000840| 6f 20 6e 61 76 69 67 61 | 74 65 20 74 68 72 6f 75 |o naviga|te throu|
|00000850| 67 68 20 74 68 65 20 6d | 6f 76 69 65 2e 20 57 68 |gh the m|ovie. Wh|
|00000860| 65 6e 20 79 6f 75 20 61 | 72 65 20 64 6f 6e 65 20 |en you a|re done |
|00000870| 79 6f 75 20 63 61 6e 20 | 63 6c 6f 73 65 20 74 68 |you can |close th|
|00000880| 65 20 77 69 6e 64 6f 77 | 20 62 79 20 63 6c 69 63 |e window| by clic|
|00000890| 6b 69 6e 67 20 6f 6e 20 | 74 68 65 20 63 6c 6f 73 |king on |the clos|
|000008a0| 65 20 62 6f 78 2e 20 54 | 68 61 74 27 73 20 61 6c |e box. T|hat's al|
|000008b0| 6c 20 79 6f 75 20 72 65 | 61 6c 6c 79 20 6e 65 65 |l you re|ally nee|
|000008c0| 64 20 74 6f 20 6b 6e 6f | 77 20 74 6f 20 70 6c 61 |d to kno|w to pla|
|000008d0| 79 20 61 20 6d 6f 76 69 | 65 2e 20 4e 61 74 75 72 |y a movi|e. Natur|
|000008e0| 61 6c 6c 79 20 74 68 65 | 72 65 20 61 72 65 20 61 |ally the|re are a|
|000008f0| 20 66 65 77 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 | few add|itional |
|00000900| 6f 70 74 69 6f 6e 73 20 | 61 6e 64 20 74 68 65 20 |options |and the |
|00000910| 6e 65 78 74 20 37 34 33 | 20 70 61 67 65 73 20 61 |next 743| pages a|
|00000920| 74 74 65 6d 70 74 73 20 | 74 6f 20 65 78 70 6c 61 |ttempts |to expla|
|00000930| 69 6e 20 74 68 65 6d 2e | 0d 54 68 65 20 42 61 73 |in them.|.The Bas|
|00000940| 69 63 73 0d 54 68 65 20 | 62 61 73 69 63 20 66 6f |ics.The |basic fo|
|00000950| 72 6d 20 6f 66 20 74 68 | 65 20 51 54 4d 6f 76 69 |rm of th|e QTMovi|
|00000960| 65 20 63 6f 6d 6d 61 6e | 64 20 69 73 3a 20 0d 51 |e comman|d is: .Q|
|00000970| 54 4d 6f 76 69 65 20 20 | 4f 70 65 6e 4d 6f 76 69 |TMovie |OpenMovi|
|00000980| 65 2c 20 77 69 6e 64 6f | 77 54 79 70 65 2c 20 20 |e, windo|wType, |
|00000990| 3c 66 69 6c 65 4e 61 6d | 65 3e 2c 20 20 6c 6f 63 |<fileNam|e>, loc|
|000009a0| 61 74 69 6f 6e 20 20 5b | 2c 6f 70 74 69 6f 6e 73 |ation [|,options|
|000009b0| 2e 2e 2e 5d 0d 54 68 65 | 20 66 69 72 73 74 20 70 |...].The| first p|
|000009c0| 61 72 61 6d 65 74 65 72 | 20 69 73 20 d2 4f 70 65 |arameter| is .Ope|
|000009d0| 6e 4d 6f 76 69 65 d3 2e | 20 20 54 68 69 73 20 74 |nMovie..| This t|
|000009e0| 65 6c 6c 73 20 74 68 65 | 20 58 43 4d 44 20 74 68 |ells the| XCMD th|
|000009f0| 61 74 20 77 65 20 77 61 | 6e 74 20 74 6f 20 6f 70 |at we wa|nt to op|
|00000a00| 65 6e 20 61 20 6e 65 77 | 20 6d 6f 76 69 65 20 77 |en a new| movie w|
|00000a10| 69 6e 64 6f 77 2e 20 54 | 68 65 20 73 65 63 6f 6e |indow. T|he secon|
|00000a20| 64 20 70 61 72 61 6d 65 | 74 65 72 20 69 73 20 74 |d parame|ter is t|
|00000a30| 68 65 20 77 69 6e 64 6f | 77 54 79 70 65 2e 20 54 |he windo|wType. T|
|00000a40| 68 65 20 77 69 6e 64 6f | 77 20 74 79 70 65 20 63 |he windo|w type c|
|00000a50| 61 6e 20 62 65 20 6f 6e | 65 20 6f 66 20 74 68 65 |an be on|e of the|
|00000a60| 20 66 6f 6c 6c 6f 77 69 | 6e 67 3a 20 44 6f 63 75 | followi|ng: Docu|
|00000a70| 6d 65 6e 74 2c 20 57 69 | 6e 64 6f 69 64 2c 20 54 |ment, Wi|ndoid, T|
|00000a80| 61 6c 6c 57 69 6e 64 6f | 69 64 2c 20 50 6c 61 69 |allWindo|id, Plai|
|00000a90| 6e 2c 20 44 69 61 6c 6f | 67 2c 20 41 6c 74 44 69 |n, Dialo|g, AltDi|
|00000aa0| 61 6c 6f 67 2c 20 6f 72 | 20 42 6f 72 64 65 72 6c |alog, or| Borderl|
|00000ab0| 65 73 73 20 28 73 65 65 | 20 69 6c 6c 75 73 74 72 |ess (see| illustr|
|00000ac0| 61 74 69 6f 6e 20 62 65 | 6c 6f 77 29 2e 20 4f 74 |ation be|low). Ot|
|00000ad0| 68 65 72 20 6f 70 74 69 | 6f 6e 73 20 66 6f 72 20 |her opti|ons for |
|00000ae0| 74 68 69 73 20 70 61 72 | 61 6d 65 74 65 72 20 61 |this par|ameter a|
|00000af0| 72 65 20 64 69 73 63 75 | 73 73 65 64 20 69 6e 20 |re discu|ssed in |
|00000b00| 74 68 65 20 41 64 76 61 | 6e 63 65 64 20 54 6f 70 |the Adva|nced Top|
|00000b10| 69 63 73 20 73 65 63 74 | 69 6f 6e 2e 20 54 68 65 |ics sect|ion. The|
|00000b20| 20 74 68 69 72 64 20 70 | 61 72 61 6d 65 74 65 72 | third p|arameter|
|00000b30| 20 69 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 | is the |name of |
|00000b40| 61 20 6d 6f 76 69 65 20 | 66 69 6c 65 2e 20 49 66 |a movie |file. If|
|00000b50| 20 74 68 65 20 6d 6f 76 | 69 65 20 69 73 20 69 6e | the mov|ie is in|
|00000b60| 20 74 68 65 20 73 61 6d | 65 20 66 6f 6c 64 65 72 | the sam|e folder|
|00000b70| 20 61 73 20 74 68 65 20 | 73 74 61 63 6b 2c 20 79 | as the |stack, y|
|00000b80| 6f 75 20 6e 65 65 64 20 | 6f 6e 6c 79 20 6e 61 6d |ou need |only nam|
|00000b90| 65 20 74 68 65 20 66 69 | 6c 65 2c 20 6f 74 68 65 |e the fi|le, othe|
|00000ba0| 72 77 69 73 65 2c 20 74 | 68 65 20 66 75 6c 6c 20 |rwise, t|he full |
|00000bb0| 70 61 74 68 20 6e 61 6d | 65 20 6d 75 73 74 20 62 |path nam|e must b|
|00000bc0| 65 20 70 72 6f 76 69 64 | 65 64 2e 20 54 68 65 20 |e provid|ed. The |
|00000bd0| 6c 6f 63 61 74 69 6f 6e | 20 70 61 72 61 6d 65 74 |location| paramet|
|00000be0| 65 72 20 63 61 6e 20 62 | 65 20 6f 6e 65 20 6f 66 |er can b|e one of|
|00000bf0| 20 61 20 66 65 77 20 64 | 69 66 66 65 72 65 6e 74 | a few d|ifferent|
|00000c00| 20 6f 70 74 69 6f 6e 73 | 2e 20 59 6f 75 20 63 61 | options|. You ca|
|00000c10| 6e 20 73 70 65 63 69 66 | 79 20 61 20 70 6f 69 6e |n specif|y a poin|
|00000c20| 74 20 6f 72 20 61 20 72 | 65 63 74 61 6e 67 6c 65 |t or a r|ectangle|
|00000c30| 20 66 6f 72 20 74 68 65 | 20 6c 6f 63 61 74 69 6f | for the| locatio|
|00000c40| 6e 20 70 61 72 61 6d 65 | 74 65 72 2e 20 49 66 20 |n parame|ter. If |
|00000c50| 61 20 70 6f 69 6e 74 20 | 69 73 20 73 70 65 63 69 |a point |is speci|
|00000c60| 66 69 65 64 2c 20 74 68 | 65 6e 20 74 68 65 20 6d |fied, th|en the m|
|00000c70| 6f 76 69 65 20 69 73 20 | 73 68 6f 77 6e 20 61 74 |ovie is |shown at|
|00000c80| 20 69 74 73 20 6e 6f 72 | 6d 61 6c 20 73 69 7a 65 | its nor|mal size|
|00000c90| 20 61 74 20 74 68 65 20 | 70 6f 69 6e 74 20 73 70 | at the |point sp|
|00000ca0| 65 63 69 66 69 65 64 2e | 20 20 54 68 65 20 70 6f |ecified.| The po|
|00000cb0| 69 6e 74 20 69 73 20 69 | 6e 20 74 68 65 20 6c 6f |int is i|n the lo|
|00000cc0| 63 61 6c 20 63 6f 6f 72 | 64 69 6e 61 74 65 73 20 |cal coor|dinates |
|00000cd0| 6f 66 20 74 68 65 20 63 | 61 72 64 20 77 69 6e 64 |of the c|ard wind|
|00000ce0| 6f 77 2e 20 49 66 20 61 | 20 72 65 63 74 61 6e 67 |ow. If a| rectang|
|00000cf0| 6c 65 20 69 73 20 73 70 | 65 63 69 66 69 65 64 2c |le is sp|ecified,|
|00000d00| 20 74 68 65 6e 20 74 68 | 65 20 6d 6f 76 69 65 20 | then th|e movie |
|00000d10| 69 73 20 73 63 61 6c 65 | 64 20 74 6f 20 66 69 74 |is scale|d to fit|
|00000d20| 20 74 68 65 20 72 65 63 | 74 61 6e 67 6c 65 2e 20 | the rec|tangle. |
|00000d30| 54 68 65 20 74 6f 70 20 | 6c 65 66 74 20 6f 66 20 |The top |left of |
|00000d40| 74 68 65 20 72 65 63 74 | 61 6e 67 6c 65 20 73 70 |the rect|angle sp|
|00000d50| 65 63 69 66 69 65 73 20 | 74 68 65 20 6c 6f 63 61 |ecifies |the loca|
|00000d60| 74 69 6f 6e 2e 20 41 67 | 61 69 6e 2c 20 74 68 65 |tion. Ag|ain, the|
|00000d70| 20 72 65 63 74 61 6e 67 | 6c 65 20 69 73 20 69 6e | rectang|le is in|
|00000d80| 20 6c 6f 63 61 6c 20 63 | 6f 6f 72 64 69 6e 61 74 | local c|oordinat|
|00000d90| 65 73 2e 20 41 6c 74 65 | 72 6e 61 74 69 76 65 6c |es. Alte|rnativel|
|00000da0| 79 2c 20 79 6f 75 20 63 | 61 6e 20 73 70 65 63 69 |y, you c|an speci|
|00000db0| 66 79 20 6f 6e 65 20 6f | 66 20 74 68 65 20 66 6f |fy one o|f the fo|
|00000dc0| 6c 6c 6f 77 69 6e 67 20 | 6c 69 74 65 72 61 6c 73 |llowing |literals|
|00000dd0| 20 66 6f 72 20 74 68 65 | 20 6c 6f 63 61 74 69 6f | for the| locatio|
|00000de0| 6e 20 70 61 72 61 6d 65 | 74 65 72 3a 20 63 61 72 |n parame|ter: car|
|00000df0| 64 2c 20 6c 61 72 67 65 | 73 74 2c 20 64 65 65 70 |d, large|st, deep|
|00000e00| 65 73 74 2c 20 6f 72 20 | 6d 61 69 6e 2e 20 54 68 |est, or |main. Th|
|00000e10| 65 73 65 20 77 69 6c 6c | 20 63 61 75 73 65 20 74 |ese will| cause t|
|00000e20| 68 65 20 6d 6f 76 69 65 | 20 74 6f 20 62 65 20 63 |he movie| to be c|
|00000e30| 65 6e 74 65 72 65 64 20 | 6f 6e 20 74 68 65 20 73 |entered |on the s|
|00000e40| 61 6d 65 20 73 63 72 65 | 65 6e 20 61 73 20 74 68 |ame scre|en as th|
|00000e50| 65 20 63 61 72 64 20 77 | 69 6e 64 6f 77 2c 20 74 |e card w|indow, t|
|00000e60| 68 65 20 73 63 72 65 65 | 6e 20 77 69 74 68 20 74 |he scree|n with t|
|00000e70| 68 65 20 6c 61 72 67 65 | 73 74 20 61 72 65 61 2c |he large|st area,|
|00000e80| 20 74 68 65 20 73 63 72 | 65 65 6e 20 77 69 74 68 | the scr|een with|
|00000e90| 20 74 68 65 20 67 72 65 | 61 74 65 73 74 20 62 69 | the gre|atest bi|
|00000ea0| 74 20 64 65 70 74 68 2c | 20 6f 72 20 74 68 65 20 |t depth,| or the |
|00000eb0| 6d 61 69 6e 20 73 63 72 | 65 65 6e 2c 20 72 65 73 |main scr|een, res|
|00000ec0| 70 65 63 74 69 76 65 6c | 79 2e 0d 59 6f 75 20 63 |pectivel|y..You c|
|00000ed0| 61 6e 20 73 70 65 63 69 | 66 79 20 61 20 6c 69 73 |an speci|fy a lis|
|00000ee0| 74 20 6f 66 20 6f 70 74 | 69 6f 6e 61 6c 20 70 61 |t of opt|ional pa|
|00000ef0| 72 61 6d 65 74 65 72 73 | 20 69 6e 20 61 6e 79 20 |rameters| in any |
|00000f00| 6f 72 64 65 72 20 61 66 | 74 65 72 20 74 68 65 20 |order af|ter the |
|00000f10| 6c 6f 63 61 74 69 6f 6e | 20 70 61 72 61 6d 65 74 |location| paramet|
|00000f20| 65 72 2e 20 20 54 68 65 | 20 6d 6f 73 74 20 63 6f |er. The| most co|
|00000f30| 6d 6d 6f 6e 20 6f 70 74 | 69 6f 6e 73 20 61 72 65 |mmon opt|ions are|
|00000f40| 3a 0d 6d 75 74 65 09 2d | 20 73 74 61 72 74 20 74 |:.mute.-| start t|
|00000f50| 68 65 20 6d 6f 76 69 65 | 20 69 6e 20 61 20 6d 75 |he movie| in a mu|
|00000f60| 74 65 64 20 73 74 61 74 | 65 0d 70 61 75 73 65 64 |ted stat|e.paused|
|00000f70| 09 2d 20 73 74 61 72 74 | 20 74 68 65 20 6d 6f 76 |.- start| the mov|
|00000f80| 69 65 20 69 6e 20 61 20 | 70 61 75 73 65 64 20 73 |ie in a |paused s|
|00000f90| 74 61 74 65 20 61 74 20 | 74 69 6d 65 20 7a 65 72 |tate at |time zer|
|00000fa0| 6f 0d 6c 6f 6f 70 09 2d | 20 77 68 65 6e 20 70 6c |o.loop.-| when pl|
|00000fb0| 61 79 20 68 69 74 73 20 | 74 68 65 20 65 6e 64 2c |ay hits |the end,|
|00000fc0| 20 6c 6f 6f 70 20 62 61 | 63 6b 20 74 6f 20 74 68 | loop ba|ck to th|
|00000fd0| 65 20 62 65 67 69 6e 6e | 69 6e 67 0d 69 6e 76 69 |e beginn|ing.invi|
|00000fe0| 73 69 62 6c 65 09 2d 20 | 69 6e 69 74 69 61 6c 6c |sible.- |initiall|
|00000ff0| 79 2c 20 20 64 6f 20 6e | 6f 74 20 73 68 6f 77 20 |y, do n|ot show |
|00001000| 74 68 65 20 77 69 6e 64 | 6f 77 20 28 6f 72 20 6d |the wind|ow (or m|
|00001010| 6f 76 69 65 20 69 66 20 | 64 69 72 65 63 74 29 0d |ovie if |direct).|
|00001020| 6e 6f 43 6f 6e 74 72 6f | 6c 6c 65 72 09 2d 20 64 |noContro|ller.- d|
|00001030| 6f 20 6e 6f 74 20 64 69 | 73 70 6c 61 79 20 61 20 |o not di|splay a |
|00001040| 6d 6f 76 69 65 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |movie co|ntroller|
|00001050| 20 69 6e 20 74 68 65 20 | 77 69 6e 64 6f 77 0d 54 | in the |window.T|
|00001060| 68 65 20 61 62 6f 76 65 | 20 6f 70 74 69 6f 6e 73 |he above| options|
|00001070| 20 61 72 65 20 75 73 65 | 64 20 74 6f 20 6f 76 65 | are use|d to ove|
|00001080| 72 72 69 64 65 20 74 68 | 65 20 64 65 66 61 75 6c |rride th|e defaul|
|00001090| 74 20 62 65 68 61 76 69 | 6f 72 20 6f 66 20 74 68 |t behavi|or of th|
|000010a0| 65 20 73 70 65 63 69 66 | 69 63 20 66 65 61 74 75 |e specif|ic featu|
|000010b0| 72 65 73 2e 20 54 68 75 | 73 20 74 68 65 20 64 65 |res. Thu|s the de|
|000010c0| 66 61 75 6c 74 20 69 73 | 20 66 6f 72 20 61 20 6d |fault is| for a m|
|000010d0| 6f 76 69 65 20 74 6f 20 | 62 65 20 73 68 6f 77 6e |ovie to |be shown|
|000010e0| 20 70 6c 61 79 69 6e 67 | 20 77 69 74 68 20 73 6f | playing| with so|
|000010f0| 75 6e 64 20 6f 6e 2e 20 | 54 68 65 20 77 69 6e 64 |und on. |The wind|
|00001100| 6f 77 20 77 69 6c 6c 20 | 68 61 76 65 20 61 20 63 |ow will |have a c|
|00001110| 6f 6e 74 72 6f 6c 6c 65 | 72 20 61 6e 64 20 69 74 |ontrolle|r and it|
|00001120| 20 77 69 6c 6c 20 62 65 | 20 76 69 73 69 62 6c 65 | will be| visible|
|00001130| 2e 20 41 64 64 69 74 69 | 6f 6e 61 6c 20 61 64 76 |. Additi|onal adv|
|00001140| 61 6e 63 65 64 20 6f 70 | 74 69 6f 6e 73 20 61 72 |anced op|tions ar|
|00001150| 65 20 64 69 73 63 75 73 | 73 65 64 20 6c 61 74 65 |e discus|sed late|
|00001160| 72 2e 0d 41 66 74 65 72 | 20 63 61 6c 6c 69 6e 67 |r..After| calling|
|00001170| 20 51 54 4d 6f 76 69 65 | 20 4f 70 65 6e 4d 6f 76 | QTMovie| OpenMov|
|00001180| 69 65 2c 20 74 68 65 20 | 48 79 70 65 72 54 61 6c |ie, the |HyperTal|
|00001190| 6b 20 67 6c 6f 62 61 6c | 20 22 74 68 65 20 72 65 |k global| "the re|
|000011a0| 73 75 6c 74 22 20 77 69 | 6c 6c 20 63 6f 6e 74 61 |sult" wi|ll conta|
|000011b0| 69 6e 20 61 6e 20 65 72 | 72 6f 72 20 6d 65 73 73 |in an er|ror mess|
|000011c0| 61 67 65 20 69 66 20 73 | 6f 6d 65 20 70 72 6f 62 |age if s|ome prob|
|000011d0| 6c 65 6d 20 77 61 73 20 | 65 6e 63 6f 75 6e 74 65 |lem was |encounte|
|000011e0| 72 65 64 20 69 6e 20 61 | 74 74 65 6d 70 74 69 6e |red in a|ttemptin|
|000011f0| 67 20 74 6f 20 6f 70 65 | 6e 20 74 68 65 20 6d 6f |g to ope|n the mo|
|00001200| 76 69 65 2e 20 54 68 65 | 20 66 69 72 73 74 20 77 |vie. The| first w|
|00001210| 6f 72 64 20 6f 66 20 74 | 68 65 20 65 72 72 6f 72 |ord of t|he error|
|00001220| 20 6d 65 73 73 61 67 65 | 20 69 73 20 61 6c 77 61 | message| is alwa|
|00001230| 79 73 20 74 68 65 20 77 | 6f 72 64 20 22 45 72 72 |ys the w|ord "Err|
|00001240| 6f 72 22 2e 20 54 68 75 | 73 20 77 68 65 6e 20 63 |or". Thu|s when c|
|00001250| 61 6c 6c 69 6e 67 20 51 | 54 4d 6f 76 69 65 2c 20 |alling Q|TMovie, |
|00001260| 79 6f 75 20 73 68 6f 75 | 6c 64 20 61 6c 77 61 79 |you shou|ld alway|
|00001270| 73 20 66 6f 6c 6c 6f 77 | 20 75 70 20 77 69 74 68 |s follow| up with|
|00001280| 20 61 6e 20 65 72 72 6f | 72 20 63 68 65 63 6b 3a | an erro|r check:|
|00001290| 0d 51 54 4d 6f 76 69 65 | 20 20 4f 70 65 6e 4d 6f |.QTMovie| OpenMo|
|000012a0| 76 69 65 2c 20 44 6f 63 | 75 6d 65 6e 74 2c 20 22 |vie, Doc|ument, "|
|000012b0| 4d 79 44 69 73 6b 3a 4d | 79 4d 6f 76 69 65 22 2c |MyDisk:M|yMovie",|
|000012c0| 20 22 32 30 2c 32 30 22 | 0d 67 65 74 20 74 68 65 | "20,20"|.get the|
|000012d0| 20 72 65 73 75 6c 74 0d | 69 66 20 22 45 72 72 6f | result.|if "Erro|
|000012e0| 72 22 20 69 73 20 69 6e | 20 69 74 20 74 68 65 6e |r" is in| it then|
|000012f0| 20 3c 64 6f 20 65 72 72 | 6f 72 20 68 61 6e 64 6c | <do err|or handl|
|00001300| 69 6e 67 3e 0d 41 73 20 | 6d 65 6e 74 69 6f 6e 65 |ing>.As |mentione|
|00001310| 64 20 61 62 6f 76 65 20 | 74 68 65 20 77 69 6e 64 |d above |the wind|
|00001320| 6f 77 54 79 70 65 20 70 | 61 72 61 6d 65 74 65 72 |owType p|arameter|
|00001330| 20 73 70 65 63 69 66 69 | 65 73 20 74 68 65 20 77 | specifi|es the w|
|00001340| 69 6e 64 6f 77 20 74 79 | 70 65 20 69 6e 20 77 68 |indow ty|pe in wh|
|00001350| 69 63 68 20 74 6f 20 64 | 69 73 70 6c 61 79 20 74 |ich to d|isplay t|
|00001360| 68 65 20 6d 6f 76 69 65 | 2e 20 20 54 68 65 20 77 |he movie|. The w|
|00001370| 69 6e 64 6f 77 20 74 79 | 70 65 73 20 61 72 65 3a |indow ty|pes are:|
|00001380| 0d 09 64 6f 63 75 6d 65 | 6e 74 09 77 69 6e 64 6f |..docume|nt.windo|
|00001390| 69 64 09 74 61 6c 6c 57 | 69 6e 64 6f 69 64 0d 09 |id.tallW|indoid..|
|000013a0| 09 70 6c 61 69 6e 09 64 | 69 61 6c 6f 67 09 61 6c |.plain.d|ialog.al|
|000013b0| 74 44 69 61 6c 6f 67 09 | 62 6f 72 64 65 72 6c 65 |tDialog.|borderle|
|000013c0| 73 73 0d 41 6c 6c 20 6f | 66 20 74 68 65 20 77 69 |ss.All o|f the wi|
|000013d0| 6e 64 6f 77 20 65 78 61 | 6d 70 6c 65 73 20 61 62 |ndow exa|mples ab|
|000013e0| 6f 76 65 20 61 72 65 20 | 73 68 6f 77 6e 20 77 69 |ove are |shown wi|
|000013f0| 74 68 6f 75 74 20 61 20 | 63 6f 6e 74 72 6f 6c 6c |thout a |controll|
|00001400| 65 72 2e 20 0d 45 78 61 | 6d 70 6c 65 73 20 6f 66 |er. .Exa|mples of|
|00001410| 20 6f 70 65 6e 69 6e 67 | 20 61 20 6e 65 77 20 6d | opening| a new m|
|00001420| 6f 76 69 65 20 77 69 6e | 64 6f 77 3a 0d 51 54 4d |ovie win|dow:.QTM|
|00001430| 6f 76 69 65 20 4f 70 65 | 6e 4d 6f 76 69 65 2c 20 |ovie Ope|nMovie, |
|00001440| 57 69 6e 64 6f 69 64 2c | 20 22 48 44 3a 4d 6f 76 |Windoid,| "HD:Mov|
|00001450| 69 65 73 3a 52 75 6e 6e | 69 6e 67 20 48 6f 72 73 |ies:Runn|ing Hors|
|00001460| 65 73 22 2c 20 22 31 30 | 30 2c 31 30 30 22 0d 2d |es", "10|0,100".-|
|00001470| 2d 20 70 6c 61 79 73 20 | 61 20 6d 6f 76 69 65 20 |- plays |a movie |
|00001480| 69 6e 20 61 20 77 69 6e | 64 6f 69 64 20 6c 6f 63 |in a win|doid loc|
|00001490| 61 74 65 64 20 61 74 20 | 31 30 30 2c 31 30 30 20 |ated at |100,100 |
|000014a0| 77 69 74 68 20 61 20 6d | 6f 76 69 65 20 63 6f 6e |with a m|ovie con|
|000014b0| 74 72 6f 6c 6c 65 72 0d | 51 54 4d 6f 76 69 65 20 |troller.|QTMovie |
|000014c0| 4f 70 65 6e 4d 6f 76 69 | 65 2c 20 50 6c 61 69 6e |OpenMovi|e, Plain|
|000014d0| 2c 20 63 64 20 66 69 65 | 6c 64 20 66 69 6c 65 4e |, cd fie|ld fileN|
|000014e0| 61 6d 65 2c 20 74 68 65 | 20 72 65 63 74 20 6f 66 |ame, the| rect of|
|000014f0| 20 62 74 6e 20 6d 6f 76 | 69 65 2c 20 6e 6f 63 6f | btn mov|ie, noco|
|00001500| 6e 74 72 6f 6c 6c 65 72 | 0d 2d 2d 20 70 6c 61 79 |ntroller|.-- play|
|00001510| 73 20 61 20 6d 6f 76 69 | 65 20 28 77 68 6f 73 65 |s a movi|e (whose|
|00001520| 20 6e 61 6d 65 20 69 73 | 20 6f 62 74 61 69 6e 65 | name is| obtaine|
|00001530| 64 20 66 6f 72 6d 20 74 | 68 65 20 63 61 72 64 20 |d form t|he card |
|00001540| 66 69 65 6c 64 20 22 66 | 69 6c 65 4e 61 6d 65 22 |field "f|ileName"|
|00001550| 29 20 69 6e 20 61 20 50 | 6c 61 69 6e 20 77 69 6e |) in a P|lain win|
|00001560| 64 6f 77 20 73 63 61 6c | 65 64 20 74 6f 20 74 68 |dow scal|ed to th|
|00001570| 65 20 73 69 7a 65 20 61 | 6e 64 20 6c 6f 63 61 74 |e size a|nd locat|
|00001580| 69 6f 6e 20 6f 66 20 62 | 75 74 74 6f 6e 20 22 6d |ion of b|utton "m|
|00001590| 6f 76 69 65 22 2e 20 20 | 54 68 65 20 6d 6f 76 69 |ovie". |The movi|
|000015a0| 65 20 63 6f 6e 74 72 6f | 6c 6c 65 72 20 69 73 20 |e contro|ller is |
|000015b0| 6e 6f 74 20 76 69 73 69 | 62 6c 65 2e 0d 51 54 4d |not visi|ble..QTM|
|000015c0| 6f 76 69 65 20 4f 70 65 | 6e 4d 6f 76 69 65 2c 20 |ovie Ope|nMovie, |
|000015d0| 44 6f 63 75 6d 65 6e 74 | 2c 20 75 73 65 72 52 65 |Document|, userRe|
|000015e0| 70 6c 79 2c 20 63 61 72 | 64 2c 20 70 61 75 73 65 |ply, car|d, pause|
|000015f0| 64 2c 20 69 6e 76 69 73 | 69 62 6c 65 0d 2d 2d 20 |d, invis|ible.-- |
|00001600| 73 74 61 72 74 73 20 61 | 20 6d 6f 76 69 65 20 69 |starts a| movie i|
|00001610| 6e 20 61 6e 20 68 69 64 | 64 65 6e 20 64 6f 63 75 |n an hid|den docu|
|00001620| 6d 65 6e 74 20 77 69 6e | 64 6f 77 2c 20 70 61 75 |ment win|dow, pau|
|00001630| 73 65 64 20 61 74 20 74 | 68 65 20 62 65 67 69 6e |sed at t|he begin|
|00001640| 6e 69 6e 67 20 6f 66 20 | 74 68 65 20 6d 6f 76 69 |ning of |the movi|
|00001650| 65 2e 20 20 54 68 65 20 | 6e 61 6d 65 20 6f 66 20 |e. The |name of |
|00001660| 74 68 65 20 6d 6f 76 69 | 65 20 69 73 20 63 6f 6e |the movi|e is con|
|00001670| 74 61 69 6e 65 64 20 69 | 6e 20 61 20 74 68 65 20 |tained i|n a the |
|00001680| 73 63 72 69 70 74 20 76 | 61 72 69 61 62 6c 65 20 |script v|ariable |
|00001690| 22 75 73 65 72 52 65 70 | 6c 79 22 2c 20 77 68 69 |"userRep|ly", whi|
|000016a0| 63 68 20 63 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |ch could| have be|
|000016b0| 65 6e 20 74 68 65 20 72 | 65 73 75 6c 74 20 6f 66 |en the r|esult of|
|000016c0| 20 61 20 48 79 70 65 72 | 54 61 6c 6b 20 22 61 6e | a Hyper|Talk "an|
|000016d0| 73 77 65 72 20 66 69 6c | 65 22 20 64 69 61 6c 6f |swer fil|e" dialo|
|000016e0| 67 2e 20 54 68 65 20 77 | 69 6e 64 6f 77 20 69 73 |g. The w|indow is|
|000016f0| 20 6d 61 64 65 20 76 69 | 73 69 62 6c 65 20 62 79 | made vi|sible by|
|00001700| 20 65 78 65 63 75 74 69 | 6e 67 20 73 68 6f 77 20 | executi|ng show |
|00001710| 77 69 6e 64 6f 77 20 3c | 77 69 6e 64 6f 77 4e 61 |window <|windowNa|
|00001720| 6d 65 3e 20 61 74 20 77 | 68 69 63 68 20 70 6f 69 |me> at w|hich poi|
|00001730| 6e 74 20 69 74 20 77 69 | 6c 6c 20 61 70 70 65 61 |nt it wi|ll appea|
|00001740| 72 20 63 65 6e 74 65 72 | 65 64 20 69 6e 20 74 68 |r center|ed in th|
|00001750| 65 20 63 61 72 64 20 77 | 69 6e 64 6f 77 27 73 20 |e card w|indow's |
|00001760| 73 63 72 65 65 6e 2e 20 | 0d 43 6f 6e 74 72 6f 6c |screen. |.Control|
|00001770| 6c 69 6e 67 20 4d 6f 76 | 69 65 73 0d 55 6e 6c 65 |ling Mov|ies.Unle|
|00001780| 73 73 20 79 6f 75 20 73 | 70 65 63 69 66 69 65 64 |ss you s|pecified|
|00001790| 20 6e 6f 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 77 69 | noContr|oller wi|
|000017a0| 74 68 20 61 20 77 69 6e | 64 6f 77 20 6d 6f 76 69 |th a win|dow movi|
|000017b0| 65 2c 20 79 6f 75 20 77 | 69 6c 6c 20 67 65 74 20 |e, you w|ill get |
|000017c0| 74 68 65 20 51 75 69 63 | 6b 54 69 6d 65 20 73 74 |the Quic|kTime st|
|000017d0| 61 6e 64 61 72 64 20 6d | 6f 76 69 65 20 63 6f 6e |andard m|ovie con|
|000017e0| 74 72 6f 6c 6c 65 72 20 | 69 6e 20 74 68 65 20 77 |troller |in the w|
|000017f0| 69 6e 64 6f 77 2e 20 49 | 74 20 77 69 6c 6c 20 61 |indow. I|t will a|
|00001800| 6c 77 61 79 73 20 62 65 | 20 61 74 20 74 68 65 20 |lways be| at the |
|00001810| 62 6f 74 74 6f 6d 20 6f | 66 20 74 68 65 20 77 69 |bottom o|f the wi|
|00001820| 6e 64 6f 77 2e 0d 57 69 | 74 68 20 74 68 69 73 20 |ndow..Wi|th this |
|00001830| 63 6f 6e 74 72 6f 6c 6c | 65 72 2c 20 79 6f 75 20 |controll|er, you |
|00001840| 63 61 6e 20 75 73 65 20 | 74 68 65 20 73 6c 69 64 |can use |the slid|
|00001850| 65 72 20 74 6f 20 71 75 | 69 63 6b 6c 79 20 70 6f |er to qu|ickly po|
|00001860| 73 69 74 69 6f 6e 20 79 | 6f 75 72 73 65 6c 66 20 |sition y|ourself |
|00001870| 61 6e 79 77 68 65 72 65 | 20 69 6e 20 74 68 65 20 |anywhere| in the |
|00001880| 6d 6f 76 69 65 2e 20 59 | 6f 75 20 63 61 6e 20 61 |movie. Y|ou can a|
|00001890| 6c 73 6f 20 75 73 65 20 | 74 68 65 20 73 74 65 70 |lso use |the step|
|000018a0| 20 66 6f 72 77 61 72 64 | 20 61 6e 64 20 72 65 76 | forward| and rev|
|000018b0| 65 72 73 65 20 62 75 74 | 74 6f 6e 73 20 74 6f 20 |erse but|tons to |
|000018c0| 66 69 6e 65 20 74 75 6e | 65 20 79 6f 75 72 20 70 |fine tun|e your p|
|000018d0| 6f 73 69 74 69 6f 6e 2e | 20 54 68 65 20 70 6c 61 |osition.| The pla|
|000018e0| 79 2f 70 61 75 73 65 20 | 62 75 74 74 6f 6e 20 74 |y/pause |button t|
|000018f0| 6f 67 67 6c 65 73 20 62 | 65 74 77 65 65 6e 20 70 |oggles b|etween p|
|00001900| 6c 61 79 20 28 61 20 62 | 6c 61 63 6b 20 74 72 69 |lay (a b|lack tri|
|00001910| 61 6e 67 6c 65 29 20 61 | 6e 64 20 70 61 75 73 65 |angle) a|nd pause|
|00001920| 20 28 74 77 6f 20 76 65 | 72 74 69 63 61 6c 20 6c | (two ve|rtical l|
|00001930| 69 6e 65 73 29 2e 20 54 | 68 65 20 73 70 65 61 6b |ines). T|he speak|
|00001940| 65 72 20 69 63 6f 6e 20 | 6f 6e 20 74 68 65 20 6c |er icon |on the l|
|00001950| 65 66 74 20 63 6f 6e 74 | 72 6f 6c 73 20 74 68 65 |eft cont|rols the|
|00001960| 20 6d 6f 76 69 65 20 76 | 6f 6c 75 6d 65 2e 20 49 | movie v|olume. I|
|00001970| 6e 20 61 64 64 69 74 69 | 6f 6e 2c 20 79 6f 75 20 |n additi|on, you |
|00001980| 63 61 6e 20 63 6c 69 63 | 6b 20 69 6e 20 74 68 65 |can clic|k in the|
|00001990| 20 6d 6f 76 69 65 20 69 | 74 73 65 6c 66 20 74 6f | movie i|tself to|
|000019a0| 20 70 61 75 73 65 20 61 | 20 6d 6f 76 69 65 20 61 | pause a| movie a|
|000019b0| 6e 64 20 64 6f 75 62 6c | 65 20 63 6c 69 63 6b 20 |nd doubl|e click |
|000019c0| 74 6f 20 73 74 61 72 74 | 20 69 74 2e 20 54 68 69 |to start| it. Thi|
|000019d0| 73 20 69 73 20 68 61 6e | 64 79 20 77 68 65 6e 20 |s is han|dy when |
|000019e0| 79 6f 75 20 64 6f 20 6e | 6f 74 20 68 61 76 65 20 |you do n|ot have |
|000019f0| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 20 64 |the cont|roller d|
|00001a00| 69 73 70 6c 61 79 65 64 | 2e 0d 59 6f 75 20 63 61 |isplayed|..You ca|
|00001a10| 6e 20 61 6c 73 6f 20 63 | 6f 6e 74 72 6f 6c 20 6d |n also c|ontrol m|
|00001a20| 6f 76 69 65 73 20 62 79 | 20 73 65 6e 64 69 6e 67 |ovies by| sending|
|00001a30| 20 6d 65 73 73 61 67 65 | 73 20 74 6f 20 74 68 65 | message|s to the|
|00001a40| 20 77 69 6e 64 6f 77 20 | 66 72 6f 6d 20 48 79 70 | window |from Hyp|
|00001a50| 65 72 54 61 6c 6b 2e 20 | 46 6f 72 20 61 20 77 69 |erTalk. |For a wi|
|00001a60| 6e 64 6f 77 20 6d 6f 76 | 69 65 20 74 68 65 20 67 |ndow mov|ie the g|
|00001a70| 65 6e 65 72 61 6c 20 66 | 6f 72 6d 20 6f 66 20 61 |eneral f|orm of a|
|00001a80| 20 77 69 6e 64 6f 77 20 | 6d 65 73 73 61 67 65 20 | window |message |
|00001a90| 69 73 3a 0d 73 65 6e 64 | 20 3c 6d 65 73 73 61 67 |is:.send| <messag|
|00001aa0| 65 3e 20 74 6f 20 77 69 | 6e 64 6f 77 20 3c 77 69 |e> to wi|ndow <wi|
|00001ab0| 6e 64 6f 77 4e 61 6d 65 | 3e 0d 54 68 65 20 77 69 |ndowName|>.The wi|
|00001ac0| 6e 64 6f 77 20 6e 61 6d | 65 20 64 65 66 61 75 6c |ndow nam|e defaul|
|00001ad0| 74 73 20 74 6f 20 74 68 | 65 20 66 69 6c 65 20 6e |ts to th|e file n|
|00001ae0| 61 6d 65 20 6f 66 20 74 | 68 65 20 6d 6f 76 69 65 |ame of t|he movie|
|00001af0| 20 77 69 74 68 20 74 68 | 65 20 76 6f 6c 75 6d 65 | with th|e volume|
|00001b00| 20 70 61 74 68 20 65 78 | 74 72 61 63 74 65 64 2e | path ex|tracted.|
|00001b10| 20 28 59 6f 75 20 63 61 | 6e 20 75 73 65 20 74 68 | (You ca|n use th|
|00001b20| 65 20 77 69 6e 64 6f 77 | 4e 61 6d 65 20 70 72 6f |e window|Name pro|
|00001b30| 70 65 72 74 79 20 74 6f | 20 63 68 61 6e 67 65 20 |perty to| change |
|00001b40| 74 68 65 20 77 69 6e 64 | 6f 77 20 6e 61 6d 65 2e |the wind|ow name.|
|00001b50| 29 20 0d 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |) .For e|xample, |
|00001b60| 74 6f 20 68 61 76 65 20 | 74 68 65 20 58 43 4d 44 |to have |the XCMD|
|00001b70| 20 70 6c 61 79 20 74 68 | 65 20 6d 6f 76 69 65 20 | play th|e movie |
|00001b80| 69 6e 20 72 65 76 65 72 | 73 65 20 28 61 20 66 75 |in rever|se (a fu|
|00001b90| 6e 63 74 69 6f 6e 20 6e | 6f 74 20 69 6e 74 75 69 |nction n|ot intui|
|00001ba0| 74 69 76 65 6c 79 20 61 | 76 61 69 6c 61 62 6c 65 |tively a|vailable|
|00001bb0| 20 69 6e 20 74 68 65 20 | 6d 6f 76 69 65 20 63 6f | in the |movie co|
|00001bc0| 6e 74 72 6f 6c 6c 65 72 | 29 20 79 6f 75 20 77 6f |ntroller|) you wo|
|00001bd0| 75 6c 64 20 73 65 6e 64 | 20 74 68 65 20 6d 65 73 |uld send| the mes|
|00001be0| 73 61 67 65 3a 0d 73 65 | 6e 64 20 52 65 76 65 72 |sage:.se|nd Rever|
|00001bf0| 73 65 20 74 6f 20 77 69 | 6e 64 6f 77 20 22 4a 75 |se to wi|ndow "Ju|
|00001c00| 69 63 65 20 42 6f 74 74 | 6c 65 73 22 0d 54 68 65 |ice Bott|les".The|
|00001c10| 72 65 20 61 72 65 20 61 | 20 6e 75 6d 62 65 72 20 |re are a| number |
|00001c20| 6f 66 20 6d 65 73 73 61 | 67 65 73 20 79 6f 75 20 |of messa|ges you |
|00001c30| 63 61 6e 20 73 65 6e 64 | 20 74 6f 20 74 68 65 20 |can send| to the |
|00001c40| 6d 6f 76 69 65 20 77 69 | 6e 64 6f 77 2e 20 54 68 |movie wi|ndow. Th|
|00001c50| 65 20 6d 6f 73 74 20 63 | 6f 6d 6d 6f 6e 20 6f 66 |e most c|ommon of|
|00001c60| 20 74 68 6f 73 65 20 61 | 72 65 3a 0d 50 6c 61 79 | those a|re:.Play|
|00001c70| 09 2d 20 50 6c 61 79 20 | 46 6f 72 77 61 72 64 20 |.- Play |Forward |
|00001c80| 28 73 65 74 73 20 73 70 | 65 65 64 20 74 6f 20 6c |(sets sp|eed to l|
|00001c90| 61 73 74 20 72 61 74 65 | 20 73 65 74 20 28 73 65 |ast rate| set (se|
|00001ca0| 65 20 72 61 74 65 20 70 | 72 6f 70 65 72 74 79 20 |e rate p|roperty |
|00001cb0| 62 65 6c 6f 77 29 29 0d | 50 61 75 73 65 09 2d 20 |below)).|Pause.- |
|00001cc0| 50 61 75 73 65 73 20 74 | 68 65 20 6d 6f 76 69 65 |Pauses t|he movie|
|00001cd0| 0d 52 65 76 65 72 73 65 | 09 2d 20 50 6c 61 79 20 |.Reverse|.- Play |
|00001ce0| 52 65 76 65 72 73 65 20 | 28 6e 65 67 61 74 65 20 |Reverse |(negate |
|00001cf0| 74 68 65 20 6c 61 73 74 | 20 72 61 74 65 20 73 65 |the last| rate se|
|00001d00| 74 2c 20 61 6e 64 20 70 | 6c 61 79 20 61 74 20 74 |t, and p|lay at t|
|00001d10| 68 61 74 20 73 70 65 65 | 64 29 0d 53 74 65 70 46 |hat spee|d).StepF|
|00001d20| 77 64 09 2d 20 53 74 65 | 70 20 46 6f 72 77 61 72 |wd.- Ste|p Forwar|
|00001d30| 64 20 31 20 d2 66 72 61 | 6d 65 d3 0d 53 74 65 70 |d 1 .fra|me..Step|
|00001d40| 52 65 76 09 2d 20 53 74 | 65 70 20 42 61 63 6b 77 |Rev.- St|ep Backw|
|00001d50| 61 72 64 20 31 20 d2 66 | 72 61 6d 65 d3 0d 48 69 |ard 1 .f|rame..Hi|
|00001d60| 64 65 43 6f 6e 74 72 6f | 6c 6c 65 72 09 2d 20 48 |deContro|ller.- H|
|00001d70| 69 64 65 20 74 68 65 20 | 70 6c 61 79 20 63 6f 6e |ide the |play con|
|00001d80| 74 72 6f 6c 6c 65 72 0d | 53 68 6f 77 43 6f 6e 74 |troller.|ShowCont|
|00001d90| 72 6f 6c 6c 65 72 09 2d | 20 53 68 6f 77 20 74 68 |roller.-| Show th|
|00001da0| 65 20 70 6c 61 79 20 63 | 6f 6e 74 72 6f 6c 6c 65 |e play c|ontrolle|
|00001db0| 72 0d 54 68 65 20 63 6f | 6e 74 72 6f 6c 20 63 6f |r.The co|ntrol co|
|00001dc0| 6d 6d 61 6e 64 73 20 74 | 68 61 74 20 79 6f 75 20 |mmands t|hat you |
|00001dd0| 63 61 6e 20 73 65 6e 64 | 20 61 72 65 3a 20 50 6c |can send| are: Pl|
|00001de0| 61 79 2c 20 52 65 76 65 | 72 73 65 2c 20 50 61 75 |ay, Reve|rse, Pau|
|00001df0| 73 65 2c 20 53 74 65 70 | 46 77 64 2c 20 61 6e 64 |se, Step|Fwd, and|
|00001e00| 20 53 74 65 70 52 65 76 | 2e 20 50 6c 61 79 20 77 | StepRev|. Play w|
|00001e10| 69 6c 6c 20 70 6c 61 79 | 20 74 68 65 20 6d 6f 76 |ill play| the mov|
|00001e20| 69 65 20 61 74 20 77 68 | 61 74 65 76 65 72 20 69 |ie at wh|atever i|
|00001e30| 74 73 20 63 75 72 72 65 | 6e 74 20 72 61 74 65 20 |ts curre|nt rate |
|00001e40| 73 65 74 74 69 6e 67 20 | 69 73 2e 20 54 68 65 20 |setting |is. The |
|00001e50| 64 65 66 61 75 6c 74 20 | 72 61 74 65 20 69 73 20 |default |rate is |
|00001e60| 77 68 61 74 65 76 65 72 | 20 70 72 65 66 65 72 72 |whatever| preferr|
|00001e70| 65 64 20 72 61 74 65 20 | 69 73 20 73 61 76 65 64 |ed rate |is saved|
|00001e80| 20 77 69 74 68 20 74 68 | 65 20 6d 6f 76 69 65 20 | with th|e movie |
|00001e90| 28 6e 6f 72 6d 61 6c 6c | 79 20 31 29 2e 20 20 59 |(normall|y 1). Y|
|00001ea0| 6f 75 20 63 68 61 6e 67 | 65 20 74 68 65 20 63 75 |ou chang|e the cu|
|00001eb0| 72 72 65 6e 74 20 72 61 | 74 65 20 73 65 74 74 69 |rrent ra|te setti|
|00001ec0| 6e 67 20 62 79 20 73 65 | 74 74 69 6e 67 20 74 68 |ng by se|tting th|
|00001ed0| 65 20 72 61 74 65 20 70 | 72 6f 70 65 72 74 79 20 |e rate p|roperty |
|00001ee0| 28 73 65 65 20 62 65 6c | 6f 77 29 2e 20 20 50 61 |(see bel|ow). Pa|
|00001ef0| 75 73 65 20 77 69 6c 6c | 20 68 61 6c 74 20 74 68 |use will| halt th|
|00001f00| 65 20 6d 6f 76 69 65 20 | 62 75 74 20 69 74 73 20 |e movie |but its |
|00001f10| 63 75 72 72 65 6e 74 20 | 72 61 74 65 20 73 65 74 |current |rate set|
|00001f20| 74 69 6e 67 20 77 69 6c | 6c 20 62 65 20 72 65 74 |ting wil|l be ret|
|00001f30| 61 69 6e 65 64 2e 20 20 | 52 65 76 65 72 73 65 20 |ained. |Reverse |
|00001f40| 6e 65 67 61 74 65 73 20 | 74 68 65 20 63 75 72 72 |negates |the curr|
|00001f50| 65 6e 74 20 72 61 74 65 | 20 73 65 74 74 69 6e 67 |ent rate| setting|
|00001f60| 20 61 6e 64 20 74 68 65 | 6e 20 74 65 6c 6c 73 20 | and the|n tells |
|00001f70| 74 68 65 20 6d 6f 76 69 | 65 20 74 6f 20 70 6c 61 |the movi|e to pla|
|00001f80| 79 2e 20 20 49 66 20 74 | 68 65 20 72 61 74 65 20 |y. If t|he rate |
|00001f90| 77 61 73 20 61 6c 72 65 | 61 64 79 20 6e 65 67 61 |was alre|ady nega|
|00001fa0| 74 69 76 65 20 74 68 65 | 6e 20 52 65 76 65 72 73 |tive the|n Revers|
|00001fb0| 65 20 77 69 6c 6c 20 63 | 61 75 73 65 20 74 68 65 |e will c|ause the|
|00001fc0| 20 6d 6f 76 69 65 20 74 | 6f 20 70 6c 61 79 20 69 | movie t|o play i|
|00001fd0| 6e 20 74 68 65 20 66 6f | 72 77 61 72 64 20 64 69 |n the fo|rward di|
|00001fe0| 72 65 63 74 69 6f 6e 2e | 20 41 67 61 69 6e 2c 20 |rection.| Again, |
|00001ff0| 6d 6f 72 65 20 61 64 76 | 61 6e 63 65 64 20 6d 65 |more adv|anced me|
|00002000| 73 73 61 67 65 73 20 61 | 72 65 20 70 72 65 73 65 |ssages a|re prese|
|00002010| 6e 74 65 64 20 69 6e 20 | 74 68 65 20 41 64 76 61 |nted in |the Adva|
|00002020| 6e 63 65 64 20 54 6f 70 | 69 63 73 20 73 65 63 74 |nced Top|ics sect|
|00002030| 69 6f 6e 2e 0d 47 65 74 | 74 69 6e 67 20 61 6e 64 |ion..Get|ting and|
|00002040| 20 53 65 74 74 69 6e 67 | 20 50 72 6f 70 65 72 74 | Setting| Propert|
|00002050| 69 65 73 20 6f 66 20 4d | 6f 76 69 65 73 0d 41 6e |ies of M|ovies.An|
|00002060| 6f 74 68 65 72 20 6d 65 | 61 6e 73 20 6f 66 20 63 |other me|ans of c|
|00002070| 6f 6e 74 72 6f 6c 6c 69 | 6e 67 20 6d 6f 76 69 65 |ontrolli|ng movie|
|00002080| 73 20 69 73 20 62 79 20 | 73 65 74 74 69 6e 67 20 |s is by |setting |
|00002090| 76 61 72 69 6f 75 73 20 | 70 72 6f 70 65 72 74 69 |various |properti|
|000020a0| 65 73 20 6f 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |es of th|e window|
|000020b0| 2e 20 54 68 65 20 64 69 | 66 66 65 72 65 6e 63 65 |. The di|fference|
|000020c0| 20 62 65 74 77 65 65 6e | 20 74 68 69 73 20 61 6e | between| this an|
|000020d0| 64 20 73 65 6e 64 69 6e | 67 20 61 20 6d 65 73 73 |d sendin|g a mess|
|000020e0| 61 67 65 20 69 73 20 74 | 68 61 74 20 74 68 65 72 |age is t|hat ther|
|000020f0| 65 20 69 73 20 61 20 76 | 61 6c 75 65 20 61 73 73 |e is a v|alue ass|
|00002100| 6f 63 69 61 74 65 64 20 | 77 69 74 68 20 61 20 70 |ociated |with a p|
|00002110| 72 6f 70 65 72 74 79 2e | 20 54 68 65 20 67 65 6e |roperty.| The gen|
|00002120| 65 72 61 6c 20 66 6f 72 | 6d 20 6f 66 20 74 68 65 |eral for|m of the|
|00002130| 20 63 61 6c 6c 73 20 66 | 6f 72 20 77 69 6e 64 6f | calls f|or windo|
|00002140| 77 20 6d 6f 76 69 65 73 | 20 69 73 3a 0d 73 65 74 |w movies| is:.set|
|00002150| 20 3c 70 72 6f 70 65 72 | 74 79 3e 20 6f 66 20 77 | <proper|ty> of w|
|00002160| 69 6e 64 6f 77 20 3c 77 | 69 6e 64 6f 77 4e 61 6d |indow <w|indowNam|
|00002170| 65 3e 20 74 6f 20 3c 76 | 61 6c 75 65 3e 0d 67 65 |e> to <v|alue>.ge|
|00002180| 74 20 3c 70 72 6f 70 65 | 72 74 79 3e 20 6f 66 20 |t <prope|rty> of |
|00002190| 77 69 6e 64 6f 77 20 3c | 77 69 6e 64 6f 77 4e 61 |window <|windowNa|
|000021a0| 6d 65 3e 0d 54 68 65 72 | 65 20 61 72 65 20 73 6f |me>.Ther|e are so|
|000021b0| 6d 65 20 70 72 6f 70 65 | 72 74 69 65 73 20 74 68 |me prope|rties th|
|000021c0| 61 74 20 79 6f 75 20 63 | 61 6e 20 67 65 74 20 62 |at you c|an get b|
|000021d0| 75 74 20 6e 6f 74 20 73 | 65 74 2c 20 73 75 63 68 |ut not s|et, such|
|000021e0| 20 61 73 20 74 68 65 20 | 64 75 72 61 74 69 6f 6e | as the |duration|
|000021f0| 20 70 72 6f 70 65 72 74 | 79 2c 20 77 68 69 63 68 | propert|y, which|
|00002200| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 64 75 72 | returns| the dur|
|00002210| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 6d 6f 76 |ation of| the mov|
|00002220| 69 65 20 28 69 6e 20 74 | 68 65 20 6d 6f 76 69 65 |ie (in t|he movie|
|00002230| 27 73 20 74 69 6d 65 20 | 73 63 61 6c 65 29 2e 20 |'s time |scale). |
|00002240| 4d 6f 73 74 20 6f 66 20 | 74 68 65 20 73 65 74 74 |Most of |the sett|
|00002250| 61 62 6c 65 20 70 72 6f | 70 65 72 74 69 65 73 20 |able pro|perties |
|00002260| 79 6f 75 20 63 61 6e 20 | 67 65 74 20 28 69 6e 20 |you can |get (in |
|00002270| 6d 61 6e 79 20 63 61 73 | 65 73 20 69 74 20 6a 75 |many cas|es it ju|
|00002280| 73 74 20 72 65 74 75 72 | 6e 73 20 77 68 61 74 65 |st retur|ns whate|
|00002290| 76 65 72 20 79 6f 75 20 | 73 65 74 20 62 65 66 6f |ver you |set befo|
|000022a0| 72 65 2e 29 20 41 6c 6c | 20 74 6f 67 65 74 68 65 |re.) All| togethe|
|000022b0| 72 20 74 68 65 72 65 20 | 61 72 65 20 6f 76 65 72 |r there |are over|
|000022c0| 20 73 65 76 65 6e 74 79 | 20 70 72 6f 70 65 72 74 | seventy| propert|
|000022d0| 69 65 73 20 61 73 73 6f | 63 69 61 74 65 64 20 77 |ies asso|ciated w|
|000022e0| 69 74 68 20 74 68 65 20 | 51 54 4d 6f 76 69 65 20 |ith the |QTMovie |
|000022f0| 58 43 4d 44 2c 20 72 61 | 6e 67 69 6e 67 20 66 72 |XCMD, ra|nging fr|
|00002300| 6f 6d 20 74 68 65 20 63 | 6f 6d 6d 6f 6e 20 61 6e |om the c|ommon an|
|00002310| 64 20 75 73 65 66 75 6c | 20 74 6f 20 74 68 65 20 |d useful| to the |
|00002320| 72 61 72 65 20 61 6e 64 | 20 6f 62 73 63 75 72 65 |rare and| obscure|
|00002330| 2e 20 54 68 65 20 63 6f | 6d 6d 6f 6e 20 61 6e 64 |. The co|mmon and|
|00002340| 20 75 73 65 66 75 6c 20 | 49 20 77 69 6c 6c 20 64 | useful |I will d|
|00002350| 69 73 63 75 73 73 20 6e | 6f 77 3b 20 74 68 65 20 |iscuss n|ow; the |
|00002360| 72 61 72 65 20 61 6e 64 | 20 6f 62 73 63 75 72 65 |rare and| obscure|
|00002370| 20 28 61 6e 64 20 74 68 | 6f 73 65 20 69 6e 20 62 | (and th|ose in b|
|00002380| 65 74 77 65 65 6e 29 20 | 49 27 6c 6c 20 73 61 76 |etween) |I'll sav|
|00002390| 65 20 66 6f 72 20 74 68 | 65 20 41 64 76 61 6e 63 |e for th|e Advanc|
|000023a0| 65 64 20 54 6f 70 69 63 | 73 20 73 65 63 74 69 6f |ed Topic|s sectio|
|000023b0| 6e 20 28 77 68 69 63 68 | 20 49 20 72 65 61 6c 6c |n (which| I reall|
|000023c0| 79 20 64 6f 20 69 6e 74 | 65 6e 64 20 74 6f 20 77 |y do int|end to w|
|000023d0| 72 69 74 65 29 2e 0d 54 | 68 65 20 63 6f 6d 6d 6f |rite)..T|he commo|
|000023e0| 6e 20 70 72 6f 70 65 72 | 74 69 65 73 20 72 65 6c |n proper|ties rel|
|000023f0| 61 74 65 64 20 74 6f 20 | 74 68 65 20 6d 6f 76 69 |ated to |the movi|
|00002400| 65 20 69 74 73 65 6c 66 | 20 61 72 65 3a 0d 20 20 |e itself| are:. |
|00002410| 09 0d 63 75 72 72 54 69 | 6d 65 09 2d 20 67 65 74 |..currTi|me.- get|
|00002420| 20 6f 72 20 73 65 74 20 | 28 69 6e 20 74 68 65 20 | or set |(in the |
|00002430| 6d 6f 76 69 65 27 73 20 | 74 69 6d 65 20 73 63 61 |movie's |time sca|
|00002440| 6c 65 29 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |le) the |current |
|00002450| 74 69 6d 65 20 28 64 6f | 65 73 20 6e 6f 74 20 70 |time (do|es not p|
|00002460| 61 75 73 65 29 0d 64 75 | 72 61 74 69 6f 6e 09 2d |ause).du|ration.-|
|00002470| 20 72 65 74 75 72 6e 20 | 28 69 6e 20 74 68 65 20 | return |(in the |
|00002480| 6d 6f 76 69 65 27 73 20 | 74 69 6d 65 20 73 63 61 |movie's |time sca|
|00002490| 6c 65 29 20 74 68 65 20 | 64 75 72 61 74 69 6f 6e |le) the |duration|
|000024a0| 20 6f 66 20 74 68 65 20 | 6d 6f 76 69 65 0d 6d 6f | of the |movie.mo|
|000024b0| 76 69 65 53 63 61 6c 65 | 09 2d 20 72 65 74 75 72 |vieScale|.- retur|
|000024c0| 6e 20 74 68 65 20 74 69 | 6d 65 20 62 61 73 65 20 |n the ti|me base |
|000024d0| 6f 66 20 74 68 65 20 6d | 6f 76 69 65 20 28 74 69 |of the m|ovie (ti|
|000024e0| 6d 65 20 75 6e 69 74 73 | 20 70 65 72 20 73 65 63 |me units| per sec|
|000024f0| 6f 6e 64 29 0d 72 61 74 | 65 09 2d 20 66 69 78 65 |ond).rat|e.- fixe|
|00002500| 64 20 6e 75 6d 62 65 72 | 20 2d 20 73 65 74 73 20 |d number| - sets |
|00002510| 70 6c 61 79 62 61 63 6b | 20 72 61 74 65 20 6f 66 |playback| rate of|
|00002520| 20 74 68 65 20 6d 6f 76 | 69 65 20 28 6e 65 67 61 | the mov|ie (nega|
|00002530| 74 69 76 65 20 66 6f 72 | 20 70 6c 61 79 69 6e 67 |tive for| playing|
|00002540| 20 69 6e 20 0d 09 09 72 | 65 76 65 72 73 65 29 2e | in ...r|everse).|
|00002550| 20 49 66 20 6d 6f 76 69 | 65 20 77 61 73 20 70 61 | If movi|e was pa|
|00002560| 75 73 65 64 2c 20 69 74 | 20 73 74 61 79 73 20 70 |used, it| stays p|
|00002570| 61 75 73 65 64 2e 20 55 | 73 65 20 74 68 65 20 70 |aused. U|se the p|
|00002580| 6c 61 79 20 63 6f 6d 6d | 61 6e 64 20 0d 09 09 74 |lay comm|and ...t|
|00002590| 6f 20 73 74 61 72 74 20 | 6d 6f 76 69 65 20 67 6f |o start |movie go|
|000025a0| 69 6e 67 20 61 74 20 6e | 65 77 20 72 61 74 65 2e |ing at n|ew rate.|
|000025b0| 0d 6c 6f 6f 70 09 2d 20 | 74 75 72 6e 73 20 6f 6e |.loop.- |turns on|
|000025c0| 20 6f 72 20 6f 66 66 20 | 6c 6f 6f 70 20 6d 6f 64 | or off |loop mod|
|000025d0| 65 20 28 73 65 74 20 74 | 6f 20 74 72 75 65 20 6f |e (set t|o true o|
|000025e0| 72 20 66 61 6c 73 65 29 | 0d 61 75 64 69 6f 4c 65 |r false)|.audioLe|
|000025f0| 76 65 6c 09 2d 20 74 68 | 65 20 63 75 72 72 65 6e |vel.- th|e curren|
|00002600| 74 20 61 75 64 69 6f 20 | 6c 65 76 65 6c 20 28 30 |t audio |level (0|
|00002610| 2d 32 35 36 2c 20 6f 72 | 20 68 69 67 68 65 72 20 |-256, or| higher |
|00002620| 77 69 74 68 20 51 54 31 | 2e 36 20 61 6e 64 20 6e |with QT1|.6 and n|
|00002630| 65 77 20 53 6f 75 6e 64 | 20 4d 67 72 29 0d 6d 75 |ew Sound| Mgr).mu|
|00002640| 74 65 09 2d 20 74 75 72 | 6e 73 20 6f 6e 20 6f 72 |te.- tur|ns on or|
|00002650| 20 6f 66 66 20 6d 75 74 | 69 6e 67 20 28 73 65 74 | off mut|ing (set|
|00002660| 20 74 6f 20 74 72 75 65 | 20 6f 72 20 66 61 6c 73 | to true| or fals|
|00002670| 65 29 0d 46 6f 75 72 20 | 70 72 6f 70 65 72 74 69 |e).Four |properti|
|00002680| 65 73 20 61 66 66 65 63 | 74 20 74 68 65 20 73 69 |es affec|t the si|
|00002690| 7a 65 20 6f 72 20 6c 6f | 63 61 74 69 6f 6e 20 6f |ze or lo|cation o|
|000026a0| 66 20 74 68 65 20 6d 6f | 76 69 65 20 6f 72 20 77 |f the mo|vie or w|
|000026b0| 69 6e 64 6f 77 20 28 74 | 68 65 73 65 20 61 72 65 |indow (t|hese are|
|000026c0| 20 64 69 73 63 75 73 73 | 65 64 20 69 6e 20 67 72 | discuss|ed in gr|
|000026d0| 65 61 74 65 72 20 64 65 | 74 61 69 6c 20 75 6e 64 |eater de|tail und|
|000026e0| 65 72 20 57 69 6e 64 6f | 77 20 61 6e 64 20 4d 6f |er Windo|w and Mo|
|000026f0| 76 69 65 20 50 6f 73 69 | 74 69 6f 6e 69 6e 67 20 |vie Posi|tioning |
|00002700| 61 6e 64 20 52 65 73 69 | 7a 69 6e 67 29 3a 0d 77 |and Resi|zing):.w|
|00002710| 69 6e 64 6f 77 4c 6f 63 | 09 2d 20 61 20 6e 65 77 |indowLoc|.- a new|
|00002720| 20 6c 6f 63 61 74 69 6f | 6e 20 66 6f 72 20 74 68 | locatio|n for th|
|00002730| 65 20 77 69 6e 64 6f 77 | 0d 77 69 6e 64 6f 77 52 |e window|.windowR|
|00002740| 65 63 74 09 2d 20 61 20 | 6e 65 77 20 72 65 63 74 |ect.- a |new rect|
|00002750| 20 66 6f 72 20 74 68 65 | 20 77 69 6e 64 6f 77 0d | for the| window.|
|00002760| 6d 6f 76 69 65 4c 6f 63 | 09 2d 20 63 68 61 6e 67 |movieLoc|.- chang|
|00002770| 65 20 74 68 65 20 6c 6f | 63 61 74 69 6f 6e 20 6f |e the lo|cation o|
|00002780| 66 20 74 68 65 20 6d 6f | 76 69 65 20 77 69 74 68 |f the mo|vie with|
|00002790| 69 6e 20 69 74 73 20 77 | 69 6e 64 6f 77 0d 6d 6f |in its w|indow.mo|
|000027a0| 76 69 65 52 65 63 74 09 | 2d 20 73 63 61 6c 65 20 |vieRect.|- scale |
|000027b0| 74 68 65 20 6d 6f 76 69 | 65 20 69 6e 74 6f 20 61 |the movi|e into a|
|000027c0| 20 6e 65 77 20 72 65 63 | 74 61 6e 67 6c 65 0d 45 | new rec|tangle.E|
|000027d0| 78 61 6d 70 6c 65 20 63 | 61 6c 6c 73 3a 0d 70 75 |xample c|alls:.pu|
|000027e0| 74 20 63 75 72 72 54 69 | 6d 65 20 6f 66 20 77 69 |t currTi|me of wi|
|000027f0| 6e 64 6f 77 20 22 48 69 | 67 68 20 4a 75 6d 70 65 |ndow "Hi|gh Jumpe|
|00002800| 72 22 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 73 61 |r" into |field sa|
|00002810| 76 65 54 69 6d 65 0d 67 | 65 74 20 61 75 64 69 6f |veTime.g|et audio|
|00002820| 4c 65 76 65 6c 20 6f 66 | 20 77 69 6e 64 6f 77 20 |Level of| window |
|00002830| 22 54 69 67 65 72 22 0d | 70 75 74 20 6d 6f 76 69 |"Tiger".|put movi|
|00002840| 65 4c 6f 63 20 6f 66 20 | 77 69 6e 64 6f 77 20 27 |eLoc of |window '|
|00002850| 52 61 63 65 20 43 61 72 | 22 20 69 6e 74 6f 20 66 |Race Car|" into f|
|00002860| 69 65 6c 64 20 72 61 63 | 65 43 61 72 4c 6f 63 0d |ield rac|eCarLoc.|
|00002870| 73 65 74 20 63 75 72 72 | 54 69 6d 65 20 6f 66 20 |set curr|Time of |
|00002880| 77 69 6e 64 6f 77 20 22 | 48 69 67 68 20 4a 75 6d |window "|High Jum|
|00002890| 70 65 72 22 20 74 6f 20 | 66 69 65 6c 64 20 73 61 |per" to |field sa|
|000028a0| 76 65 54 69 6d 65 0d 73 | 65 74 20 72 61 74 65 20 |veTime.s|et rate |
|000028b0| 6f 66 20 77 69 6e 64 6f | 77 20 22 52 61 63 65 20 |of windo|w "Race |
|000028c0| 43 61 72 22 20 74 6f 20 | 32 2e 35 0d 70 75 74 20 |Car" to |2.5.put |
|000028d0| 64 75 72 61 74 69 6f 6e | 20 6f 66 20 77 69 6e 64 |duration| of wind|
|000028e0| 6f 77 20 63 75 72 72 57 | 69 6e 64 6f 77 20 2f 20 |ow currW|indow / |
|000028f0| 6d 6f 76 69 65 53 63 61 | 6c 65 20 6f 66 20 77 69 |movieSca|le of wi|
|00002900| 6e 64 6f 77 20 63 75 72 | 72 57 69 6e 64 6f 77 20 |ndow cur|rWindow |
|00002910| 69 6e 74 6f 20 6d 6f 76 | 69 65 53 65 63 6f 6e 64 |into mov|ieSecond|
|00002920| 73 0d 43 6c 6f 73 69 6e | 67 20 74 68 65 20 57 69 |s.Closin|g the Wi|
|00002930| 6e 64 6f 77 0d 54 6f 20 | 63 6c 6f 73 65 20 61 20 |ndow.To |close a |
|00002940| 77 69 6e 64 6f 77 20 6d | 6f 76 69 65 20 79 6f 75 |window m|ovie you|
|00002950| 20 63 61 6e 20 63 6c 69 | 63 6b 20 69 6e 20 74 68 | can cli|ck in th|
|00002960| 65 20 77 69 6e 64 6f 77 | 27 73 20 63 6c 6f 73 65 |e window|'s close|
|00002970| 20 62 6f 78 20 6f 72 20 | 79 6f 75 20 63 61 6e 20 | box or |you can |
|00002980| 75 73 65 20 74 68 65 20 | 63 6c 6f 73 65 20 77 69 |use the |close wi|
|00002990| 6e 64 6f 77 20 63 6f 6d | 6d 61 6e 64 3a 0d 63 6c |ndow com|mand:.cl|
|000029a0| 6f 73 65 20 77 69 6e 64 | 6f 77 20 22 52 75 6e 6e |ose wind|ow "Runn|
|000029b0| 69 6e 67 20 48 6f 72 73 | 65 73 22 0d 54 68 65 20 |ing Hors|es".The |
|000029c0| 6d 6f 76 69 65 d5 73 20 | 64 61 74 61 20 73 74 72 |movie.s |data str|
|000029d0| 75 63 74 75 72 65 73 20 | 61 72 65 20 61 75 74 6f |uctures |are auto|
|000029e0| 6d 61 74 69 63 61 6c 6c | 79 20 66 72 65 65 64 20 |maticall|y freed |
|000029f0| 77 68 65 6e 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |when the| window |
|00002a00| 69 73 20 63 6c 6f 73 65 | 64 2e 0d 44 69 72 65 63 |is close|d..Direc|
|00002a10| 74 20 4d 6f 76 69 65 73 | 0d 44 69 72 65 63 74 20 |t Movies|.Direct |
|00002a20| 6d 6f 76 69 65 73 20 70 | 6c 61 79 20 64 69 72 65 |movies p|lay dire|
|00002a30| 63 74 6c 79 20 69 6e 74 | 6f 20 74 68 65 20 63 61 |ctly int|o the ca|
|00002a40| 72 64 20 77 69 6e 64 6f | 77 2e 20 59 6f 75 20 69 |rd windo|w. You i|
|00002a50| 6e 64 69 63 61 74 65 20 | 74 68 61 74 20 79 6f 75 |ndicate |that you|
|00002a60| 20 77 61 6e 74 20 61 20 | 64 69 72 65 63 74 20 6d | want a |direct m|
|00002a70| 6f 76 69 65 20 62 79 20 | 73 70 65 63 69 66 79 69 |ovie by |specifyi|
|00002a80| 6e 67 20 44 69 72 65 63 | 74 20 66 6f 72 20 74 68 |ng Direc|t for th|
|00002a90| 65 20 77 69 6e 64 6f 77 | 54 79 70 65 2e 20 41 73 |e window|Type. As|
|00002aa0| 73 75 6d 69 6e 67 20 74 | 68 65 72 65 20 69 73 20 |suming t|here is |
|00002ab0| 6e 6f 20 65 72 72 6f 72 | 2c 20 22 74 68 65 20 72 |no error|, "the r|
|00002ac0| 65 73 75 6c 74 22 20 77 | 69 6c 6c 20 63 6f 6e 74 |esult" w|ill cont|
|00002ad0| 61 69 6e 20 61 20 6d 6f | 76 69 65 20 69 64 20 74 |ain a mo|vie id t|
|00002ae0| 68 61 74 20 79 6f 75 20 | 77 69 6c 6c 20 6e 65 65 |hat you |will nee|
|00002af0| 64 20 74 6f 20 73 61 76 | 65 20 66 6f 72 20 73 75 |d to sav|e for su|
|00002b00| 62 73 65 71 75 65 6e 74 | 20 63 6f 6e 74 72 6f 6c |bsequent| control|
|00002b10| 20 6f 66 20 74 68 65 20 | 6d 6f 76 69 65 2e 0d 67 | of the |movie..g|
|00002b20| 6c 6f 62 61 6c 20 6d 6f | 76 69 65 49 44 0d 51 54 |lobal mo|vieID.QT|
|00002b30| 4d 6f 76 69 65 20 4f 70 | 65 6e 4d 6f 76 69 65 2c |Movie Op|enMovie,|
|00002b40| 20 44 69 72 65 63 74 2c | 20 66 69 65 6c 64 20 66 | Direct,| field f|
|00002b50| 69 6c 65 4e 61 6d 65 2c | 20 74 6f 70 4c 65 66 74 |ileName,| topLeft|
|00002b60| 20 6f 66 20 62 74 6e 20 | 6d 6f 76 69 65 4c 6f 63 | of btn |movieLoc|
|00002b70| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|00002b80| 69 66 20 22 45 72 72 6f | 72 22 20 69 73 20 69 6e |if "Erro|r" is in|
|00002b90| 20 69 74 20 74 68 65 6e | 20 3c 64 6f 20 65 72 72 | it then| <do err|
|00002ba0| 6f 72 20 68 61 6e 64 6c | 69 6e 67 3e 0d 09 65 6c |or handl|ing>..el|
|00002bb0| 73 65 20 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6d |se put i|t into m|
|00002bc0| 6f 76 69 65 49 44 0d 09 | 0d 46 6f 72 20 77 69 6e |ovieID..|.For win|
|00002bd0| 64 6f 77 20 6d 6f 76 69 | 65 73 2c 20 48 79 70 65 |dow movi|es, Hype|
|00002be0| 72 43 61 72 64 20 61 75 | 74 6f 6d 61 74 69 63 61 |rCard au|tomatica|
|00002bf0| 6c 6c 79 20 67 69 76 65 | 73 20 74 68 65 20 77 69 |lly give|s the wi|
|00002c00| 6e 64 6f 77 20 69 64 6c | 65 20 74 69 6d 65 20 61 |ndow idl|e time a|
|00002c10| 6e 64 20 68 65 6e 63 65 | 20 6d 6f 76 69 65 73 20 |nd hence| movies |
|00002c20| 6b 65 65 70 20 72 75 6e | 6e 69 6e 67 20 77 69 74 |keep run|ning wit|
|00002c30| 68 6f 75 74 20 61 6e 79 | 20 6e 65 65 64 20 66 6f |hout any| need fo|
|00002c40| 72 20 61 63 74 69 6f 6e | 20 6f 6e 20 79 6f 75 72 |r action| on your|
|00002c50| 20 70 61 72 74 2e 20 57 | 69 74 68 20 44 69 72 65 | part. W|ith Dire|
|00002c60| 63 74 20 6d 6f 76 69 65 | 73 2c 20 68 6f 77 65 76 |ct movie|s, howev|
|00002c70| 65 72 2c 20 74 68 65 20 | 61 75 74 6f 6d 61 74 69 |er, the |automati|
|00002c80| 63 20 69 64 6c 65 20 66 | 61 63 69 6c 69 74 79 20 |c idle f|acility |
|00002c90| 64 6f 65 73 20 6e 6f 74 | 20 65 78 69 73 74 2e 20 |does not| exist. |
|00002ca0| 59 6f 75 20 6e 65 65 64 | 20 74 6f 20 67 69 76 65 |You need| to give|
|00002cb0| 20 74 68 65 20 6d 6f 76 | 69 65 20 69 64 6c 65 20 | the mov|ie idle |
|00002cc0| 74 69 6d 65 20 62 79 20 | 69 6e 73 74 61 6c 6c 69 |time by |installi|
|00002cd0| 6e 67 20 61 6e 20 49 64 | 6c 65 20 68 61 6e 64 6c |ng an Id|le handl|
|00002ce0| 65 72 20 69 6e 20 79 6f | 75 72 20 63 61 72 64 20 |er in yo|ur card |
|00002cf0| 28 6f 72 20 62 61 63 6b | 67 72 6f 75 6e 64 20 6f |(or back|ground o|
|00002d00| 72 20 73 74 61 63 6b 29 | 20 73 63 72 69 70 74 2e |r stack)| script.|
|00002d10| 20 54 68 65 20 49 64 6c | 65 20 68 61 6e 64 6c 65 | The Idl|e handle|
|00002d20| 72 20 6c 6f 6f 6b 73 20 | 6c 69 6b 65 20 74 68 69 |r looks |like thi|
|00002d30| 73 3a 0d 6f 6e 20 69 64 | 6c 65 0d 09 67 6c 6f 62 |s:.on id|le..glob|
|00002d40| 61 6c 20 6d 6f 76 69 65 | 49 44 0d 09 69 66 20 6d |al movie|ID..if m|
|00002d50| 6f 76 69 65 49 44 20 69 | 73 20 6e 6f 74 20 65 6d |ovieID i|s not em|
|00002d60| 70 74 79 20 74 68 65 6e | 0d 09 09 51 54 4d 6f 76 |pty then|...QTMov|
|00002d70| 69 65 20 20 44 69 72 65 | 63 74 2c 20 6d 6f 76 69 |ie Dire|ct, movi|
|00002d80| 65 49 44 2c 20 49 64 6c | 65 0d 09 65 6e 64 20 69 |eID, Idl|e..end i|
|00002d90| 66 0d 65 6e 64 20 69 64 | 6c 65 0d 4e 6f 74 69 63 |f.end id|le.Notic|
|00002da0| 65 20 74 68 61 74 20 69 | 6e 20 74 68 69 73 20 63 |e that i|n this c|
|00002db0| 61 73 65 20 74 68 65 20 | 44 69 72 65 63 74 20 6b |ase the |Direct k|
|00002dc0| 65 79 77 6f 72 64 20 69 | 73 20 74 68 65 20 66 69 |eyword i|s the fi|
|00002dd0| 72 73 74 20 70 61 72 61 | 6d 65 74 65 72 20 74 6f |rst para|meter to|
|00002de0| 20 51 54 4d 6f 76 69 65 | 2e 20 54 68 69 73 20 69 | QTMovie|. This i|
|00002df0| 73 20 69 6e 20 66 61 63 | 74 20 74 68 65 20 67 65 |s in fac|t the ge|
|00002e00| 6e 65 72 61 6c 20 66 6f | 72 6d 20 6f 66 20 61 6c |neral fo|rm of al|
|00002e10| 6c 20 6d 65 73 73 61 67 | 65 73 20 73 65 6e 74 20 |l messag|es sent |
|00002e20| 74 6f 20 64 69 72 65 63 | 74 20 6d 6f 76 69 65 73 |to direc|t movies|
|00002e30| 3a 0d 51 54 4d 6f 76 69 | 65 20 44 69 72 65 63 74 |:.QTMovi|e Direct|
|00002e40| 2c 20 6d 6f 76 69 65 49 | 44 2c 20 3c 6d 65 73 73 |, movieI|D, <mess|
|00002e50| 61 67 65 3e 20 5b 2c 6f | 70 74 69 6f 6e 73 2e 2e |age> [,o|ptions..|
|00002e60| 2e 5d 0d 54 68 65 20 73 | 65 63 6f 6e 64 20 70 61 |.].The s|econd pa|
|00002e70| 72 61 6d 65 74 65 72 20 | 69 73 20 61 6c 77 61 79 |rameter |is alway|
|00002e80| 73 20 74 68 65 20 6d 6f | 76 69 65 20 69 64 20 74 |s the mo|vie id t|
|00002e90| 68 61 74 20 77 61 73 20 | 72 65 74 75 72 6e 65 64 |hat was |returned|
|00002ea0| 20 62 79 20 74 68 65 20 | 4f 70 65 6e 4d 6f 76 69 | by the |OpenMovi|
|00002eb0| 65 20 63 6f 6d 6d 61 6e | 64 2e 20 54 68 65 20 74 |e comman|d. The t|
|00002ec0| 68 69 72 64 20 70 61 72 | 61 6d 65 74 65 72 20 63 |hird par|ameter c|
|00002ed0| 61 6e 20 62 65 20 6f 6e | 65 20 6f 66 20 74 68 65 |an be on|e of the|
|00002ee0| 20 6d 65 73 73 61 67 65 | 73 20 6c 69 73 74 65 64 | message|s listed|
|00002ef0| 20 61 62 6f 76 65 20 66 | 6f 72 20 77 69 6e 64 6f | above f|or windo|
|00002f00| 77 20 6d 6f 76 69 65 73 | 20 28 73 75 63 68 20 61 |w movies| (such a|
|00002f10| 73 20 70 6c 61 79 20 6f | 72 20 70 61 75 73 65 29 |s play o|r pause)|
|00002f20| 2e 0d 51 54 4d 6f 76 69 | 65 20 44 69 72 65 63 74 |..QTMovi|e Direct|
|00002f30| 2c 20 6d 6f 76 69 65 49 | 44 2c 20 50 6c 61 79 0d |, movieI|D, Play.|
|00002f40| 51 54 4d 6f 76 69 65 20 | 44 69 72 65 63 74 2c 20 |QTMovie |Direct, |
|00002f50| 6d 6f 76 69 65 49 44 2c | 20 53 74 65 70 46 77 64 |movieID,| StepFwd|
|00002f60| 0d 54 6f 20 67 65 74 20 | 6f 72 20 73 65 74 20 70 |.To get |or set p|
|00002f70| 72 6f 70 65 72 74 69 65 | 73 20 74 68 65 20 74 68 |ropertie|s the th|
|00002f80| 69 72 64 20 70 61 72 61 | 6d 65 74 65 72 20 69 73 |ird para|meter is|
|00002f90| 20 47 65 74 20 6f 72 20 | 53 65 74 2c 20 69 6e 20 | Get or |Set, in |
|00002fa0| 77 68 69 63 68 20 63 61 | 73 65 20 74 68 65 72 65 |which ca|se there|
|00002fb0| 20 69 73 20 61 20 66 6f | 75 72 74 68 20 70 72 6f | is a fo|urth pro|
|00002fc0| 70 65 72 74 79 20 77 68 | 69 63 68 20 69 73 20 74 |perty wh|ich is t|
|00002fd0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 70 |he name |of the p|
|00002fe0| 72 6f 70 65 72 74 79 2e | 20 46 6f 72 20 53 65 74 |roperty.| For Set|
|00002ff0| 20 74 68 65 72 65 20 69 | 73 20 61 20 66 69 66 74 | there i|s a fift|
|00003000| 68 20 70 61 72 61 6d 65 | 74 65 72 2c 20 74 68 65 |h parame|ter, the|
|00003010| 20 76 61 6c 75 65 20 74 | 6f 20 77 68 69 63 68 20 | value t|o which |
|00003020| 74 6f 20 73 65 74 20 74 | 68 65 20 70 72 6f 70 65 |to set t|he prope|
|00003030| 72 74 79 2e 20 46 6f 72 | 20 47 65 74 2c 20 74 68 |rty. For| Get, th|
|00003040| 65 20 70 72 6f 70 65 72 | 74 79 20 76 61 6c 75 65 |e proper|ty value|
|00003050| 20 69 73 20 72 65 74 75 | 72 6e 65 64 20 69 6e 20 | is retu|rned in |
|00003060| 22 74 68 65 20 72 65 73 | 75 6c 74 22 2e 0d 51 54 |"the res|ult"..QT|
|00003070| 4d 6f 76 69 65 20 44 69 | 72 65 63 74 2c 20 6d 6f |Movie Di|rect, mo|
|00003080| 76 69 65 49 44 2c 20 47 | 65 74 2c 20 63 75 72 72 |vieID, G|et, curr|
|00003090| 54 69 6d 65 0d 70 75 74 | 20 74 68 65 20 72 65 73 |Time.put| the res|
|000030a0| 75 6c 74 20 69 6e 74 6f | 20 66 69 65 6c 64 20 73 |ult into| field s|
|000030b0| 61 76 65 54 69 6d 65 0d | 51 54 4d 6f 76 69 65 20 |aveTime.|QTMovie |
|000030c0| 44 69 72 65 63 74 2c 20 | 6d 6f 76 69 65 49 44 2c |Direct, |movieID,|
|000030d0| 20 53 65 74 2c 20 72 61 | 74 65 2c 20 2d 33 2e 30 | Set, ra|te, -3.0|
|000030e0| 0d 51 54 4d 6f 76 69 65 | 20 44 69 72 65 63 74 2c |.QTMovie| Direct,|
|000030f0| 20 6d 6f 76 69 65 49 44 | 2c 20 53 65 74 2c 20 63 | movieID|, Set, c|
|00003100| 75 72 72 54 69 6d 65 2c | 20 66 69 65 6c 64 20 73 |urrTime,| field s|
|00003110| 61 76 65 54 69 6d 65 0d | 57 68 65 6e 20 79 6f 75 |aveTime.|When you|
|00003120| 20 61 72 65 20 64 6f 6e | 65 20 77 69 74 68 20 61 | are don|e with a|
|00003130| 20 44 69 72 65 63 74 20 | 6d 6f 76 69 65 2c 20 79 | Direct |movie, y|
|00003140| 6f 75 20 6e 65 65 64 20 | 74 6f 20 64 69 73 70 6f |ou need |to dispo|
|00003150| 73 65 20 6f 66 20 69 74 | 20 73 6f 20 74 68 61 74 |se of it| so that|
|00003160| 20 74 68 65 20 6d 6f 76 | 69 65 27 73 20 64 61 74 | the mov|ie's dat|
|00003170| 61 20 73 74 72 75 63 74 | 75 72 65 73 20 61 72 65 |a struct|ures are|
|00003180| 20 72 65 6c 65 61 73 65 | 64 2e 20 54 68 69 73 20 | release|d. This |
|00003190| 69 73 20 64 6f 6e 65 20 | 77 69 74 68 20 74 68 65 |is done |with the|
|000031a0| 20 44 69 73 70 6f 73 65 | 20 6d 65 73 73 61 67 65 | Dispose| message|
|000031b0| 3a 0d 67 6c 6f 62 61 6c | 20 6d 6f 76 69 65 49 44 |:.global| movieID|
|000031c0| 0d 51 54 4d 6f 76 69 65 | 20 44 69 72 65 63 74 2c |.QTMovie| Direct,|
|000031d0| 20 6d 6f 76 69 65 49 44 | 2c 20 44 69 73 70 6f 73 | movieID|, Dispos|
|000031e0| 65 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e.put em|pty into|
|000031f0| 20 6d 6f 76 69 65 49 44 | 0d 20 0d 53 69 6e 63 65 | movieID|. .Since|
|00003200| 20 44 69 72 65 63 74 20 | 6d 6f 76 69 65 73 20 61 | Direct |movies a|
|00003210| 72 65 20 70 6c 61 79 65 | 64 20 64 69 72 65 63 74 |re playe|d direct|
|00003220| 6c 79 20 6f 6e 74 6f 20 | 74 68 65 20 63 61 72 64 |ly onto |the card|
|00003230| 20 77 69 6e 64 6f 77 2c | 20 74 68 65 20 64 69 73 | window,| the dis|
|00003240| 70 6c 61 79 20 69 73 20 | 76 6f 6c 61 74 69 6c 65 |play is |volatile|
|00003250| 2e 20 54 68 69 73 20 6d | 65 61 6e 73 20 74 68 61 |. This m|eans tha|
|00003260| 74 20 69 66 20 48 79 70 | 65 72 43 61 72 64 20 6e |t if Hyp|erCard n|
|00003270| 65 65 64 73 20 74 6f 20 | 75 70 64 61 74 65 20 74 |eeds to |update t|
|00003280| 68 65 20 63 61 72 64 2c | 20 74 68 65 20 6d 6f 76 |he card,| the mov|
|00003290| 69 65 20 64 69 73 70 6c | 61 79 20 77 69 6c 6c 20 |ie displ|ay will |
|000032a0| 62 65 20 65 72 61 73 65 | 64 2e 20 54 68 69 73 20 |be erase|d. This |
|000032b0| 69 73 20 74 68 65 20 6d | 61 69 6e 20 64 69 73 61 |is the m|ain disa|
|000032c0| 64 76 61 6e 74 61 67 65 | 20 6f 66 20 75 73 69 6e |dvantage| of usin|
|000032d0| 67 20 44 69 72 65 63 74 | 20 6d 6f 76 69 65 73 2e |g Direct| movies.|
|000032e0| 20 59 6f 75 20 6e 65 65 | 64 20 74 6f 20 62 65 20 | You nee|d to be |
|000032f0| 61 77 61 72 65 20 6f 66 | 20 74 68 69 73 20 61 6e |aware of| this an|
|00003300| 64 20 74 72 79 20 74 6f | 20 61 76 6f 69 64 20 75 |d try to| avoid u|
|00003310| 6e 6e 65 63 65 73 73 61 | 72 79 20 75 70 64 61 74 |nnecessa|ry updat|
|00003320| 69 6e 67 2e 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |ing. The| followi|
|00003330| 6e 67 20 73 63 72 69 70 | 74 20 77 69 6c 6c 20 72 |ng scrip|t will r|
|00003340| 65 66 72 65 73 68 20 61 | 20 44 69 72 65 63 74 20 |efresh a| Direct |
|00003350| 6d 6f 76 69 65 3a 0d 6f | 6e 20 72 65 66 72 65 73 |movie:.o|n refres|
|00003360| 68 0d 09 67 6c 6f 62 61 | 6c 20 6d 6f 76 69 65 49 |h..globa|l movieI|
|00003370| 44 0d 09 51 54 4d 6f 76 | 69 65 20 44 69 72 65 63 |D..QTMov|ie Direc|
|00003380| 74 2c 20 6d 6f 76 69 65 | 49 44 2c 20 47 65 74 2c |t, movie|ID, Get,|
|00003390| 20 6d 6f 76 69 65 4c 6f | 63 0d 09 70 75 74 20 74 | movieLo|c..put t|
|000033a0| 68 65 20 72 65 73 75 6c | 74 20 69 6e 74 6f 20 78 |he resul|t into x|
|000033b0| 79 0d 09 51 54 4d 6f 76 | 69 65 20 44 69 72 65 63 |y..QTMov|ie Direc|
|000033c0| 74 2c 20 6d 6f 76 69 65 | 49 44 2c 20 53 65 74 2c |t, movie|ID, Set,|
|000033d0| 20 6d 6f 76 69 65 4c 6f | 63 2c 20 78 79 0d 65 6e | movieLo|c, xy.en|
|000033e0| 64 20 72 65 66 72 65 73 | 68 0d 54 68 69 73 20 6d |d refres|h.This m|
|000033f0| 69 67 68 74 20 62 65 20 | 61 20 68 61 6e 64 79 20 |ight be |a handy |
|00003400| 73 63 72 69 70 74 20 74 | 6f 20 63 61 6c 6c 20 66 |script t|o call f|
|00003410| 72 6f 6d 20 74 68 65 20 | 6d 6f 76 65 57 69 6e 64 |rom the |moveWind|
|00003420| 6f 77 20 68 61 6e 64 6c | 65 72 2c 20 73 69 6e 63 |ow handl|er, sinc|
|00003430| 65 20 74 68 65 20 6d 6f | 76 69 65 20 63 6f 75 6c |e the mo|vie coul|
|00003440| 64 20 67 65 74 20 65 72 | 61 73 65 64 20 69 66 20 |d get er|ased if |
|00003450| 74 68 65 20 63 61 72 64 | 20 77 69 6e 64 6f 77 20 |the card| window |
|00003460| 69 73 20 64 72 61 67 67 | 65 64 2e 20 59 6f 75 20 |is dragg|ed. You |
|00003470| 6d 69 67 68 74 20 61 6c | 73 6f 20 65 78 70 6c 6f |might al|so explo|
|00003480| 72 65 20 74 68 65 20 75 | 73 65 20 6f 66 20 74 68 |re the u|se of th|
|00003490| 65 20 63 6c 69 70 70 69 | 6e 67 20 63 6f 6d 6d 61 |e clippi|ng comma|
|000034a0| 6e 64 73 20 69 6e 20 74 | 68 65 20 51 54 50 69 63 |nds in t|he QTPic|
|000034b0| 74 20 58 43 4d 44 20 74 | 6f 20 74 72 79 20 74 6f |t XCMD t|o try to|
|000034c0| 20 70 72 6f 74 65 63 74 | 20 74 68 65 20 6d 6f 76 | protect| the mov|
|000034d0| 69 65 20 66 72 6f 6d 20 | 62 65 69 6e 67 20 65 72 |ie from |being er|
|000034e0| 61 73 65 64 2e 09 0d 54 | 68 65 72 65 20 74 77 6f |ased...T|here two|
|000034f0| 20 6d 61 69 6e 20 72 65 | 61 73 6f 6e 73 20 66 6f | main re|asons fo|
|00003500| 72 20 64 69 72 65 63 74 | 20 6d 6f 76 69 65 73 d5 |r direct| movies.|
|00003510| 20 65 78 69 73 74 65 6e | 63 65 2e 20 4f 6e 65 20 | existen|ce. One |
|00003520| 69 73 20 74 68 65 20 61 | 76 61 69 6c 61 62 69 6c |is the a|vailabil|
|00003530| 69 74 79 20 6f 66 20 61 | 20 73 65 74 20 6f 66 20 |ity of a| set of |
|00003540| 73 70 65 63 69 61 6c 20 | 66 65 61 74 75 72 65 73 |special |features|
|00003550| 20 74 68 61 74 20 61 72 | 65 20 6f 6e 6c 79 20 61 | that ar|e only a|
|00003560| 76 61 69 6c 61 62 6c 65 | 20 77 69 74 68 20 64 69 |vailable| with di|
|00003570| 72 65 63 74 20 6d 6f 76 | 69 65 73 2e 20 54 68 65 |rect mov|ies. The|
|00003580| 20 6f 74 68 65 72 20 69 | 73 20 74 68 65 20 61 62 | other i|s the ab|
|00003590| 69 6c 69 74 79 20 74 6f | 20 70 6c 61 79 20 64 69 |ility to| play di|
|000035a0| 72 65 63 74 20 6d 6f 76 | 69 65 73 20 69 6e 20 53 |rect mov|ies in S|
|000035b0| 75 70 65 72 43 61 72 64 | 20 61 6e 64 20 4d 61 63 |uperCard| and Mac|
|000035c0| 72 6f 6d 69 6e 64 20 44 | 69 72 65 63 74 6f 72 2e |romind D|irector.|
|000035d0| 20 53 69 6e 63 65 20 53 | 75 70 65 72 43 61 72 64 | Since S|uperCard|
|000035e0| 20 61 6e 64 20 44 69 72 | 65 63 74 6f 72 20 64 6f | and Dir|ector do|
|000035f0| 20 6e 6f 74 20 73 75 70 | 70 6f 72 74 20 74 68 65 | not sup|port the|
|00003600| 20 74 68 65 20 48 79 70 | 65 72 43 61 72 64 20 58 | the Hyp|erCard X|
|00003610| 57 69 6e 64 6f 77 20 69 | 6e 74 65 72 66 61 63 65 |Window i|nterface|
|00003620| 2c 20 64 69 72 65 63 74 | 20 6d 6f 76 69 65 73 20 |, direct| movies |
|00003630| 61 72 65 20 74 68 65 20 | 6f 6e 6c 79 20 77 61 79 |are the |only way|
|00003640| 20 74 6f 20 75 73 65 20 | 51 54 4d 6f 76 69 65 20 | to use |QTMovie |
|00003650| 69 6e 20 74 68 6f 73 65 | 20 61 70 70 6c 69 63 61 |in those| applica|
|00003660| 74 69 6f 6e 73 2e 20 49 | 6e 64 65 65 64 2c 20 74 |tions. I|ndeed, t|
|00003670| 68 65 72 65 20 61 72 65 | 20 6f 74 68 65 72 20 77 |here are| other w|
|00003680| 61 79 73 20 74 6f 20 70 | 6c 61 79 20 51 75 69 63 |ays to p|lay Quic|
|00003690| 6b 54 69 6d 65 20 6d 6f | 76 69 65 73 20 69 6e 20 |kTime mo|vies in |
|000036a0| 74 68 6f 73 65 20 61 70 | 70 6c 69 63 61 74 69 6f |those ap|plicatio|
|000036b0| 6e 73 2c 20 62 75 74 20 | 69 66 20 66 6f 72 20 73 |ns, but |if for s|
|000036c0| 6f 6d 65 20 77 61 72 70 | 65 64 20 72 65 61 73 6f |ome warp|ed reaso|
|000036d0| 6e 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 75 73 |n you wa|nt to us|
|000036e0| 65 20 51 54 4d 6f 76 69 | 65 2c 20 64 69 72 65 63 |e QTMovi|e, direc|
|000036f0| 74 20 6d 6f 76 69 65 73 | 20 61 72 65 20 74 68 65 |t movies| are the|
|00003700| 20 77 61 79 20 74 6f 20 | 67 6f 2e 0d 54 68 65 72 | way to |go..Ther|
|00003710| 65 20 61 72 65 20 73 65 | 76 65 72 61 6c 20 6f 74 |e are se|veral ot|
|00003720| 68 65 72 20 66 65 61 74 | 75 72 65 73 20 6f 66 20 |her feat|ures of |
|00003730| 44 69 72 65 63 74 20 6d | 6f 76 69 65 73 20 74 68 |Direct m|ovies th|
|00003740| 61 74 20 77 69 6c 6c 20 | 62 65 20 63 6f 76 65 72 |at will |be cover|
|00003750| 65 64 20 69 6e 20 74 68 | 65 20 41 64 76 61 6e 63 |ed in th|e Advanc|
|00003760| 65 64 20 54 6f 70 69 63 | 73 20 73 65 63 74 69 6f |ed Topic|s sectio|
|00003770| 6e 2e 0d 51 54 4d 6f 76 | 69 65 3a 20 41 64 76 61 |n..QTMov|ie: Adva|
|00003780| 6e 63 65 64 20 54 6f 70 | 69 63 73 0d 49 6e 63 6c |nced Top|ics.Incl|
|00003790| 75 64 65 64 20 69 6e 20 | 74 68 69 73 20 73 65 63 |uded in |this sec|
|000037a0| 74 69 6f 6e 20 69 73 20 | 61 20 64 69 73 63 75 73 |tion is |a discus|
|000037b0| 73 69 6f 6e 20 6f 66 20 | 74 68 65 20 72 65 6d 61 |sion of |the rema|
|000037c0| 69 6e 69 6e 67 20 4f 70 | 65 6e 4d 6f 76 69 65 20 |ining Op|enMovie |
|000037d0| 6f 70 74 69 6f 6e 73 20 | 61 6e 64 20 77 69 6e 64 |options |and wind|
|000037e0| 6f 77 20 70 72 6f 70 65 | 72 74 69 65 73 20 61 73 |ow prope|rties as|
|000037f0| 20 77 65 6c 6c 20 61 73 | 20 73 6f 6d 65 20 61 64 | well as| some ad|
|00003800| 76 61 6e 63 65 64 20 44 | 69 72 65 63 74 20 6d 6f |vanced D|irect mo|
|00003810| 76 69 65 20 66 65 61 74 | 75 72 65 73 2e 20 0d 43 |vie feat|ures. .C|
|00003820| 61 6c 6c 20 42 61 63 6b | 20 4d 65 73 73 61 67 65 |all Back| Message|
|00003830| 73 0d 43 61 6c 6c 20 42 | 61 63 6b 20 6d 65 73 73 |s.Call B|ack mess|
|00003840| 61 67 65 73 20 61 72 65 | 20 6d 65 73 73 61 67 65 |ages are| message|
|00003850| 73 20 74 68 61 74 20 61 | 72 65 20 73 65 6e 74 20 |s that a|re sent |
|00003860| 66 72 6f 6d 20 74 68 65 | 20 58 43 4d 44 20 62 61 |from the| XCMD ba|
|00003870| 63 6b 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 2e |ck to Hy|perCard.|
|00003880| 20 49 74 20 72 65 71 75 | 69 72 65 73 20 74 68 65 | It requ|ires the|
|00003890| 20 58 57 69 6e 64 6f 77 | 20 69 6e 74 65 72 66 61 | XWindow| interfa|
|000038a0| 63 65 20 73 6f 20 77 69 | 6c 6c 20 6e 6f 74 20 77 |ce so wi|ll not w|
|000038b0| 69 6c 6c 20 66 6f 72 20 | 64 69 72 65 63 74 20 6d |ill for |direct m|
|000038c0| 6f 76 69 65 73 20 28 65 | 78 63 65 70 74 20 66 6f |ovies (e|xcept fo|
|000038d0| 72 20 74 68 65 20 74 69 | 6d 65 64 20 63 61 6c 6c |r the ti|med call|
|000038e0| 20 62 61 63 6b 20 6d 65 | 73 73 61 67 65 29 2e 20 | back me|ssage). |
|000038f0| 59 6f 75 20 63 61 6e 20 | 73 65 74 20 75 70 20 61 |You can |set up a|
|00003900| 20 6e 75 6d 62 65 72 20 | 6f 66 20 64 69 66 66 65 | number |of diffe|
|00003910| 72 65 6e 74 20 63 61 6c | 6c 20 62 61 63 6b 73 20 |rent cal|l backs |
|00003920| 74 68 61 74 20 74 68 65 | 20 58 43 4d 44 20 77 69 |that the| XCMD wi|
|00003930| 6c 6c 20 70 65 72 66 6f | 72 6d 2e 20 59 6f 75 20 |ll perfo|rm. You |
|00003940| 6e 61 6d 65 20 74 68 65 | 20 68 61 6e 64 6c 65 72 |name the| handler|
|00003950| 20 77 69 74 68 69 6e 20 | 79 6f 75 72 20 63 61 72 | within |your car|
|00003960| 64 2c 20 62 61 63 6b 67 | 72 6f 75 6e 64 2c 20 6f |d, backg|round, o|
|00003970| 72 20 73 74 61 63 6b 20 | 73 63 72 69 70 74 20 74 |r stack |script t|
|00003980| 68 61 74 20 69 73 20 74 | 6f 20 62 65 20 63 61 6c |hat is t|o be cal|
|00003990| 6c 65 64 20 77 68 65 6e | 20 63 65 72 74 61 69 6e |led when| certain|
|000039a0| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 20 6f 63 63 75 | conditi|ons occu|
|000039b0| 72 20 62 79 20 73 65 74 | 74 69 6e 67 20 74 68 65 |r by set|ting the|
|000039c0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 6d 65 73 | appropr|iate mes|
|000039d0| 73 61 67 65 20 6e 61 6d | 65 20 70 72 6f 70 65 72 |sage nam|e proper|
|000039e0| 74 79 2e 0d 49 66 20 79 | 6f 75 20 73 65 74 20 74 |ty..If y|ou set t|
|000039f0| 68 65 20 6d 6f 75 73 65 | 44 6f 77 6e 4d 73 67 20 |he mouse|DownMsg |
|00003a00| 70 72 6f 70 65 72 74 79 | 2c 20 79 6f 75 72 20 68 |property|, your h|
|00003a10| 61 6e 64 6c 65 72 20 77 | 69 6c 6c 20 62 65 20 63 |andler w|ill be c|
|00003a20| 61 6c 6c 65 64 20 77 68 | 65 6e 65 76 65 72 20 74 |alled wh|enever t|
|00003a30| 68 65 20 6d 6f 75 73 65 | 20 69 73 20 63 6c 69 63 |he mouse| is clic|
|00003a40| 6b 65 64 20 69 6e 20 74 | 68 65 20 6d 6f 76 69 65 |ked in t|he movie|
|00003a50| 20 61 72 65 61 20 6f 66 | 20 74 68 65 20 77 69 6e | area of| the win|
|00003a60| 64 6f 77 20 28 6e 6f 74 | 20 77 68 65 6e 20 69 74 |dow (not| when it|
|00003a70| 20 69 73 20 63 6c 69 63 | 6b 65 64 20 69 6e 20 74 | is clic|ked in t|
|00003a80| 68 65 20 63 6f 6e 74 72 | 6f 6c 6c 65 72 20 6f 72 |he contr|oller or|
|00003a90| 20 74 68 65 20 74 69 74 | 6c 65 20 62 61 72 29 2e | the tit|le bar).|
|00003aa0| 20 54 68 65 20 6d 6f 75 | 73 65 20 63 6c 69 63 6b | The mou|se click|
|00003ab0| 20 6c 6f 63 61 74 69 6f | 6e 20 28 69 6e 20 74 68 | locatio|n (in th|
|00003ac0| 65 20 63 6f 6f 72 64 69 | 6e 61 74 65 73 20 6f 66 |e coordi|nates of|
|00003ad0| 20 74 68 65 20 6d 6f 76 | 69 65 20 77 69 6e 64 6f | the mov|ie windo|
|00003ae0| 77 29 20 69 73 20 73 65 | 6e 74 20 61 73 20 74 68 |w) is se|nt as th|
|00003af0| 65 20 66 69 72 73 74 20 | 70 61 72 61 6d 65 74 65 |e first |paramete|
|00003b00| 72 20 74 6f 20 74 68 65 | 20 6d 6f 75 73 65 44 6f |r to the| mouseDo|
|00003b10| 77 6e 4d 73 67 2e 20 54 | 68 65 20 63 75 72 72 65 |wnMsg. T|he curre|
|00003b20| 6e 74 20 74 69 6d 65 20 | 69 6e 20 74 68 65 20 6d |nt time |in the m|
|00003b30| 6f 76 69 65 20 69 73 20 | 70 61 73 73 65 64 20 61 |ovie is |passed a|
|00003b40| 73 20 74 68 65 20 73 65 | 63 6f 6e 64 20 70 61 72 |s the se|cond par|
|00003b50| 61 6d 65 74 65 72 2c 20 | 61 6e 64 20 74 68 65 20 |ameter, |and the |
|00003b60| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 6d 6f 76 69 |name of |the movi|
|00003b70| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 69 6e 20 74 |e window| is in t|
|00003b80| 68 65 20 74 68 69 72 64 | 20 70 61 72 61 6d 65 74 |he third| paramet|
|00003b90| 65 72 2e 0d 54 68 65 20 | 74 69 6d 65 64 43 61 6c |er..The |timedCal|
|00003ba0| 6c 42 61 63 6b 20 70 72 | 6f 70 65 72 74 79 20 69 |lBack pr|operty i|
|00003bb0| 73 20 61 20 62 69 74 20 | 64 69 66 66 65 72 65 6e |s a bit |differen|
|00003bc0| 74 2e 20 49 74 20 73 70 | 65 63 69 66 69 65 73 20 |t. It sp|ecifies |
|00003bd0| 62 6f 74 68 20 61 20 68 | 61 6e 64 6c 65 72 20 61 |both a h|andler a|
|00003be0| 6e 64 20 61 20 74 69 6d | 65 20 28 69 6e 20 6d 6f |nd a tim|e (in mo|
|00003bf0| 76 69 65 20 74 69 6d 65 | 29 20 77 68 65 6e 20 74 |vie time|) when t|
|00003c00| 68 65 20 68 61 6e 64 6c | 65 72 20 73 68 6f 75 6c |he handl|er shoul|
|00003c10| 64 20 62 65 20 63 61 6c | 6c 65 64 2e 20 54 68 65 |d be cal|led. The|
|00003c20| 20 68 61 6e 64 6c 65 72 | 20 61 6e 64 20 74 68 65 | handler| and the|
|00003c30| 20 74 69 6d 65 20 61 72 | 65 20 73 65 70 61 72 61 | time ar|e separa|
|00003c40| 74 65 64 20 62 79 20 61 | 20 73 70 61 63 65 2e 20 |ted by a| space. |
|00003c50| 20 28 54 68 69 73 20 69 | 73 20 68 61 6e 64 6c 65 | (This i|s handle|
|00003c60| 64 20 71 75 69 74 65 20 | 65 61 73 69 6c 79 20 62 |d quite |easily b|
|00003c70| 79 20 75 73 69 6e 67 20 | d2 26 26 d3 20 69 6e 20 |y using |.&&. in |
|00003c80| 48 79 70 65 72 54 61 6c | 6b 2e 29 20 49 66 20 74 |HyperTal|k.) If t|
|00003c90| 68 65 20 6d 6f 76 69 65 | 20 69 73 20 70 6c 61 79 |he movie| is play|
|00003ca0| 69 6e 67 20 69 6e 20 74 | 68 65 20 66 6f 72 77 61 |ing in t|he forwa|
|00003cb0| 72 64 20 64 69 72 65 63 | 74 69 6f 6e 2c 20 74 68 |rd direc|tion, th|
|00003cc0| 65 20 6d 65 73 73 61 67 | 65 20 69 73 20 63 61 6c |e messag|e is cal|
|00003cd0| 6c 65 64 20 77 68 65 6e | 20 74 68 65 20 6d 6f 76 |led when| the mov|
|00003ce0| 69 65 20 74 69 6d 65 20 | 69 73 20 67 72 65 61 74 |ie time |is great|
|00003cf0| 65 72 20 74 68 61 6e 20 | 6f 72 20 65 71 75 61 6c |er than |or equal|
|00003d00| 20 74 6f 20 74 68 65 20 | 63 61 6c 6c 20 62 61 63 | to the |call bac|
|00003d10| 6b 20 74 69 6d 65 3b 20 | 69 66 20 69 74 20 69 73 |k time; |if it is|
|00003d20| 20 70 6c 61 79 69 6e 67 | 20 69 6e 20 72 65 76 65 | playing| in reve|
|00003d30| 72 73 65 20 74 68 65 6e | 20 74 68 65 20 6d 65 73 |rse then| the mes|
|00003d40| 73 61 67 65 20 69 73 20 | 63 61 6c 6c 65 64 20 77 |sage is |called w|
|00003d50| 68 65 6e 20 6d 6f 76 69 | 65 20 74 69 6d 65 20 69 |hen movi|e time i|
|00003d60| 73 20 6c 65 73 73 20 74 | 68 61 6e 20 6f 72 20 65 |s less t|han or e|
|00003d70| 71 75 61 6c 20 74 6f 20 | 74 68 65 20 63 61 6c 6c |qual to |the call|
|00003d80| 20 62 61 63 6b 20 74 69 | 6d 65 2e 20 54 68 65 20 | back ti|me. The |
|00003d90| 74 69 6d 65 64 20 63 61 | 6c 6c 20 62 61 63 6b 20 |timed ca|ll back |
|00003da0| 6d 65 73 73 61 67 65 20 | 69 73 20 63 61 6c 6c 65 |message |is calle|
|00003db0| 64 20 77 69 74 68 20 74 | 68 65 20 77 69 6e 64 6f |d with t|he windo|
|00003dc0| 77 20 6e 61 6d 65 20 61 | 73 20 69 74 73 20 70 61 |w name a|s its pa|
|00003dd0| 72 61 6d 65 74 65 72 2e | 20 54 68 65 20 74 69 6d |rameter.| The tim|
|00003de0| 65 20 69 73 20 65 78 70 | 72 65 73 73 65 64 20 69 |e is exp|ressed i|
|00003df0| 6e 20 6d 6f 76 69 65 20 | 74 69 6d 65 2c 20 61 20 |n movie |time, a |
|00003e00| 76 61 6c 75 65 20 77 68 | 69 63 68 20 63 61 6e 20 |value wh|ich can |
|00003e10| 62 65 20 6f 62 74 61 69 | 6e 65 64 20 62 79 20 67 |be obtai|ned by g|
|00003e20| 65 74 74 69 6e 67 20 74 | 68 65 20 63 75 72 72 54 |etting t|he currT|
|00003e30| 69 6d 65 20 70 72 6f 70 | 65 72 74 79 20 6f 66 20 |ime prop|erty of |
|00003e40| 74 68 65 20 77 69 6e 64 | 6f 77 2e 20 59 6f 75 20 |the wind|ow. You |
|00003e50| 63 61 6e 20 61 6c 73 6f | 20 73 70 65 63 69 66 79 |can also| specify|
|00003e60| 20 d2 65 6e 64 d3 20 66 | 6f 72 20 74 68 65 20 63 | .end. f|or the c|
|00003e70| 61 6c 6c 20 62 61 63 6b | 20 74 69 6d 65 2c 20 69 |all back| time, i|
|00003e80| 6e 20 77 68 69 63 68 20 | 63 61 73 65 20 74 68 65 |n which |case the|
|00003e90| 20 63 61 6c 6c 20 62 61 | 63 6b 20 69 73 20 6d 61 | call ba|ck is ma|
|00003ea0| 64 65 20 77 68 65 6e 20 | 74 68 65 20 6d 6f 76 69 |de when |the movi|
|00003eb0| 65 20 68 69 74 73 20 74 | 68 65 20 65 6e 64 2e 20 |e hits t|he end. |
|00003ec0| 55 6e 6c 69 6b 65 20 74 | 68 65 20 6f 74 68 65 72 |Unlike t|he other|
|00003ed0| 20 63 61 6c 6c 20 62 61 | 63 6b 20 6d 65 73 73 61 | call ba|ck messa|
|00003ee0| 67 65 73 2c 20 63 61 6c | 6c 42 61 63 6b 4d 73 67 |ges, cal|lBackMsg|
|00003ef0| 20 69 73 20 63 6c 65 61 | 72 65 64 20 77 68 65 6e | is clea|red when|
|00003f00| 65 76 65 72 20 69 74 20 | 69 73 20 65 78 65 63 75 |ever it |is execu|
|00003f10| 74 65 64 2e 20 59 6f 75 | 20 63 61 6e 20 72 65 73 |ted. You| can res|
|00003f20| 65 74 20 74 68 65 20 74 | 69 6d 65 64 43 61 6c 6c |et the t|imedCall|
|00003f30| 42 61 63 6b 20 66 72 6f | 6d 20 77 69 74 68 69 6e |Back fro|m within|
|00003f40| 20 74 68 65 20 63 61 6c | 6c 62 61 63 6b 20 68 61 | the cal|lback ha|
|00003f50| 6e 64 6c 65 72 20 69 66 | 20 79 6f 75 20 77 69 73 |ndler if| you wis|
|00003f60| 68 2e 20 0d 54 68 65 20 | 77 69 6e 64 6f 77 43 6c |h. .The |windowCl|
|00003f70| 6f 73 65 4d 73 67 20 69 | 73 20 63 61 6c 6c 65 64 |oseMsg i|s called|
|00003f80| 20 77 68 65 6e 20 74 68 | 65 20 77 69 6e 64 6f 77 | when th|e window|
|00003f90| 20 69 73 20 61 62 6f 75 | 74 20 74 6f 20 62 65 20 | is abou|t to be |
|00003fa0| 63 6c 6f 73 65 64 20 28 | 66 6f 72 20 65 78 61 6d |closed (|for exam|
|00003fb0| 70 6c 65 20 77 68 65 6e | 20 74 68 65 20 75 73 65 |ple when| the use|
|00003fc0| 72 20 63 6c 69 63 6b 73 | 20 69 6e 20 74 68 65 20 |r clicks| in the |
|00003fd0| 63 6c 6f 73 65 20 62 6f | 78 29 2e 20 49 74 20 69 |close bo|x). It i|
|00003fe0| 73 20 63 61 6c 6c 65 64 | 20 77 69 74 68 20 74 68 |s called| with th|
|00003ff0| 65 20 77 69 6e 64 6f 77 | 20 6e 61 6d 65 20 61 73 |e window| name as|
|00004000| 20 61 20 70 61 72 61 6d | 65 74 65 72 2e 0d 54 68 | a param|eter..Th|
|00004010| 65 20 63 75 72 73 6f 72 | 4d 73 67 20 69 73 20 63 |e cursor|Msg is c|
|00004020| 61 6c 6c 65 64 20 72 65 | 70 65 61 74 65 64 6c 79 |alled re|peatedly|
|00004030| 20 77 68 65 6e 65 76 65 | 72 20 74 68 65 20 63 75 | wheneve|r the cu|
|00004040| 72 73 6f 72 20 69 73 20 | 6f 76 65 72 20 6d 6f 76 |rsor is |over mov|
|00004050| 69 65 20 61 72 65 61 20 | 6f 66 20 74 68 65 20 77 |ie area |of the w|
|00004060| 69 6e 64 6f 77 2e 20 20 | 54 68 65 20 70 61 72 61 |indow. |The para|
|00004070| 6d 65 74 65 72 73 20 70 | 61 73 73 65 64 20 61 72 |meters p|assed ar|
|00004080| 65 20 74 68 65 20 6d 6f | 75 73 65 20 6c 6f 63 61 |e the mo|use loca|
|00004090| 74 69 6f 6e 20 28 61 67 | 61 69 6e 20 69 6e 20 74 |tion (ag|ain in t|
|000040a0| 68 65 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 20 6f |he coord|inates o|
|000040b0| 66 20 74 68 65 20 6d 6f | 76 69 65 20 77 69 6e 64 |f the mo|vie wind|
|000040c0| 6f 77 29 20 61 6e 64 20 | 74 68 65 20 77 69 6e 64 |ow) and |the wind|
|000040d0| 6f 77 20 6e 61 6d 65 2e | 20 54 68 65 20 69 6e 74 |ow name.| The int|
|000040e0| 65 6e 74 20 6f 66 20 74 | 68 69 73 20 63 61 6c 6c |ent of t|his call|
|000040f0| 62 61 63 6b 20 69 73 20 | 74 6f 20 61 6c 6c 6f 77 |back is |to allow|
|00004100| 20 74 68 65 20 75 73 65 | 72 20 74 6f 20 73 65 74 | the use|r to set|
|00004110| 20 74 68 65 20 63 75 72 | 73 6f 72 20 73 68 61 70 | the cur|sor shap|
|00004120| 65 20 77 68 65 6e 20 74 | 68 65 20 63 75 72 73 6f |e when t|he curso|
|00004130| 72 20 69 73 20 6f 76 65 | 72 20 74 68 65 20 77 69 |r is ove|r the wi|
|00004140| 6e 64 6f 77 2e 20 0d 54 | 68 65 20 6d 6f 76 69 65 |ndow. .T|he movie|
|00004150| 43 6f 6e 74 72 6f 6c 4d | 73 67 20 69 73 20 63 61 |ControlM|sg is ca|
|00004160| 6c 6c 65 64 20 77 68 65 | 6e 20 74 68 65 20 6d 6f |lled whe|n the mo|
|00004170| 76 69 65 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 20 72 |vie cont|roller r|
|00004180| 65 63 65 69 76 65 73 20 | 61 20 70 6c 61 79 2c 20 |eceives |a play, |
|00004190| 67 6f 20 74 6f 20 74 69 | 6d 65 2c 20 6f 72 20 73 |go to ti|me, or s|
|000041a0| 65 74 20 73 6f 75 6e 64 | 20 6c 65 76 65 6c 20 63 |et sound| level c|
|000041b0| 6f 6d 6d 61 6e 64 2e 20 | 54 68 72 65 65 20 70 61 |ommand. |Three pa|
|000041c0| 72 61 6d 65 74 65 72 73 | 20 61 72 65 20 70 61 73 |rameters| are pas|
|000041d0| 73 65 64 20 74 6f 20 74 | 68 65 20 68 61 6e 64 6c |sed to t|he handl|
|000041e0| 65 72 3a 20 61 6e 20 61 | 63 74 69 6f 6e 20 63 6f |er: an a|ction co|
|000041f0| 64 65 2c 20 61 6e 20 61 | 63 74 69 6f 6e 20 20 70 |de, an a|ction p|
|00004200| 61 72 61 6d 65 74 65 72 | 2c 20 61 6e 64 20 74 68 |arameter|, and th|
|00004210| 65 20 77 69 6e 64 6f 77 | 20 6e 61 6d 65 2e 20 54 |e window| name. T|
|00004220| 68 72 65 65 20 61 63 74 | 69 6f 6e 20 63 6f 64 65 |hree act|ion code|
|00004230| 73 20 61 72 65 20 63 75 | 72 72 65 6e 74 6c 79 20 |s are cu|rrently |
|00004240| 64 65 66 69 6e 65 64 3a | 20 70 6c 61 79 20 69 73 |defined:| play is|
|00004250| 20 38 2c 20 67 6f 20 74 | 6f 20 74 69 6d 65 20 69 | 8, go t|o time i|
|00004260| 73 20 31 32 2c 20 61 6e | 64 20 73 65 74 20 73 6f |s 12, an|d set so|
|00004270| 75 6e 64 20 6c 65 76 65 | 6c 20 69 73 20 31 34 2e |und leve|l is 14.|
|00004280| 20 20 28 54 68 65 73 65 | 20 61 72 65 20 74 68 65 | (These| are the|
|00004290| 20 63 6f 64 65 73 20 75 | 73 65 64 20 62 79 20 74 | codes u|sed by t|
|000042a0| 68 65 20 6d 6f 76 69 65 | 20 63 6f 6e 74 72 6f 6c |he movie| control|
|000042b0| 6c 65 72 20 69 74 73 65 | 6c 66 2e 29 20 20 54 68 |ler itse|lf.) Th|
|000042c0| 65 20 61 63 74 69 6f 6e | 20 70 61 72 61 6d 65 74 |e action| paramet|
|000042d0| 65 72 20 64 65 70 65 6e | 64 73 20 6f 6e 20 74 68 |er depen|ds on th|
|000042e0| 65 20 63 6f 64 65 2e 20 | 46 6f 72 20 70 6c 61 79 |e code. |For play|
|000042f0| 20 69 74 20 69 73 20 74 | 68 65 20 70 6c 61 79 20 | it is t|he play |
|00004300| 72 61 74 65 20 28 72 61 | 74 65 20 3d 20 30 20 69 |rate (ra|te = 0 i|
|00004310| 73 20 70 61 75 73 65 29 | 2e 20 46 6f 72 20 67 6f |s pause)|. For go|
|00004320| 20 74 6f 20 74 69 6d 65 | 20 69 74 20 69 73 20 74 | to time| it is t|
|00004330| 68 65 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 74 |he desti|nation t|
|00004340| 69 6d 65 20 69 6e 20 74 | 68 65 20 6d 6f 76 69 65 |ime in t|he movie|
|00004350| 27 73 20 74 69 6d 65 20 | 73 63 61 6c 65 2e 20 46 |'s time |scale. F|
|00004360| 6f 72 20 73 65 74 20 73 | 6f 75 6e 64 20 6c 65 76 |or set s|ound lev|
|00004370| 65 6c 20 69 74 20 69 73 | 20 74 68 65 20 73 6f 75 |el it is| the sou|
|00004380| 6e 64 20 6c 65 76 65 6c | 20 28 30 2d 32 35 35 29 |nd level| (0-255)|
|00004390| 2e 20 41 20 6e 65 67 61 | 74 69 76 65 20 73 6f 75 |. A nega|tive sou|
|000043a0| 6e 64 20 6c 65 76 65 6c | 20 69 6e 64 69 63 61 74 |nd level| indicat|
|000043b0| 65 73 20 6d 75 74 69 6e | 67 2e 0d 54 68 65 20 73 |es mutin|g..The s|
|000043c0| 74 61 74 75 73 4d 73 67 | 20 69 73 20 63 61 6c 6c |tatusMsg| is call|
|000043d0| 65 64 20 69 66 20 61 6e | 20 75 6e 65 78 70 65 63 |ed if an| unexpec|
|000043e0| 74 65 64 20 65 72 72 6f | 72 20 6f 63 63 75 72 73 |ted erro|r occurs|
|000043f0| 20 64 75 72 69 6e 67 20 | 6d 6f 76 69 65 20 70 6c | during |movie pl|
|00004400| 61 79 62 61 63 6b 2e 20 | 54 68 65 20 70 61 72 61 |ayback. |The para|
|00004410| 6d 65 74 65 72 73 20 70 | 61 73 73 65 64 20 61 72 |meters p|assed ar|
|00004420| 65 20 61 6e 20 65 72 72 | 6f 72 20 6e 75 6d 62 65 |e an err|or numbe|
|00004430| 72 20 61 6e 64 20 74 68 | 65 20 77 69 6e 64 6f 77 |r and th|e window|
|00004440| 20 6e 61 6d 65 2e 20 0d | 45 78 61 6d 70 6c 65 73 | name. .|Examples|
|00004450| 3a 0d 73 65 74 20 77 69 | 6e 64 6f 77 43 6c 6f 73 |:.set wi|ndowClos|
|00004460| 65 4d 73 67 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 |eMsg of |window "|
|00004470| 52 61 63 65 20 43 61 72 | 22 20 74 6f 20 22 4d 6f |Race Car|" to "Mo|
|00004480| 76 69 65 57 69 6e 64 6f | 77 43 6c 6f 73 69 6e 67 |vieWindo|wClosing|
|00004490| 22 0d 73 65 74 20 74 69 | 6d 65 64 43 61 6c 6c 42 |".set ti|medCallB|
|000044a0| 61 63 6b 20 6f 66 20 77 | 69 6e 64 6f 77 20 22 54 |ack of w|indow "T|
|000044b0| 69 67 65 72 22 20 74 6f | 20 22 73 68 6f 77 4d 79 |iger" to| "showMy|
|000044c0| 50 69 63 74 22 20 26 26 | 20 73 61 76 65 64 54 69 |Pict" &&| savedTi|
|000044d0| 6d 65 0d 73 65 74 20 63 | 75 72 73 6f 72 4d 73 67 |me.set c|ursorMsg|
|000044e0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 22 54 69 67 65 | of wind|ow "Tige|
|000044f0| 72 22 20 74 6f 20 22 43 | 75 72 73 6f 72 53 68 61 |r" to "C|ursorSha|
|00004500| 70 65 22 0d 73 65 74 20 | 6d 6f 76 69 65 43 6f 6e |pe".set |movieCon|
|00004510| 74 72 6f 6c 4d 73 67 20 | 6f 66 20 77 69 6e 64 6f |trolMsg |of windo|
|00004520| 77 20 22 42 6f 7a 6f 22 | 20 74 6f 20 22 4c 69 6d |w "Bozo"| to "Lim|
|00004530| 69 74 53 6f 75 6e 64 22 | 0d 45 78 61 6d 70 6c 65 |itSound"|.Example|
|00004540| 73 20 6f 66 20 73 69 6d | 70 6c 65 20 68 61 6e 64 |s of sim|ple hand|
|00004550| 6c 65 72 73 20 64 65 66 | 69 6e 65 64 20 69 6e 20 |lers def|ined in |
|00004560| 79 6f 75 72 20 63 61 72 | 64 20 73 63 72 69 70 74 |your car|d script|
|00004570| 20 6d 69 67 68 74 20 62 | 65 3a 0d 6f 6e 20 4d 6f | might b|e:.on Mo|
|00004580| 76 69 65 57 69 6e 64 6f | 77 43 6c 6f 73 69 6e 67 |vieWindo|wClosing|
|00004590| 20 77 69 6e 64 6f 77 4e | 61 6d 65 0d 09 69 66 20 | windowN|ame..if |
|000045a0| 77 69 6e 64 6f 77 4e 61 | 6d 65 20 69 73 20 22 52 |windowNa|me is "R|
|000045b0| 61 63 65 20 43 61 72 22 | 20 74 68 65 6e 20 67 6f |ace Car"| then go|
|000045c0| 20 6e 65 78 74 20 63 61 | 72 64 0d 65 6e 64 20 4d | next ca|rd.end M|
|000045d0| 6f 76 69 65 57 69 6e 64 | 6f 77 43 6c 6f 73 69 6e |ovieWind|owClosin|
|000045e0| 67 0d 6f 6e 20 43 75 72 | 73 6f 72 53 68 61 70 65 |g.on Cur|sorShape|
|000045f0| 0d 09 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |..set cu|rsor to |
|00004600| 63 72 6f 73 73 48 61 69 | 72 0d 65 6e 64 20 43 75 |crossHai|r.end Cu|
|00004610| 72 73 6f 72 53 68 61 70 | 65 0d 4e 6f 74 65 20 74 |rsorShap|e.Note t|
|00004620| 68 61 74 20 61 6c 74 68 | 6f 75 67 68 20 43 75 72 |hat alth|ough Cur|
|00004630| 73 6f 72 53 68 61 70 65 | 20 61 62 6f 76 65 20 69 |sorShape| above i|
|00004640| 73 20 61 63 74 75 61 6c | 6c 79 20 70 61 73 73 65 |s actual|ly passe|
|00004650| 64 20 62 6f 74 68 20 61 | 20 6d 6f 75 73 65 20 6c |d both a| mouse l|
|00004660| 6f 63 61 74 69 6f 6e 20 | 61 6e 64 20 61 20 77 69 |ocation |and a wi|
|00004670| 6e 64 6f 77 20 6e 61 6d | 65 20 61 73 20 70 61 72 |ndow nam|e as par|
|00004680| 61 6d 65 74 65 72 73 2c | 20 20 69 74 20 64 6f 65 |ameters,| it doe|
|00004690| 73 20 6e 6f 74 20 6e 65 | 65 64 20 74 6f 20 6c 69 |s not ne|ed to li|
|000046a0| 73 74 20 74 68 65 6d 20 | 69 6e 20 69 74 73 20 64 |st them |in its d|
|000046b0| 65 66 69 6e 69 74 69 6f | 6e 20 69 66 20 69 74 20 |efinitio|n if it |
|000046c0| 64 6f 65 73 20 6e 6f 74 | 20 6e 65 65 64 20 74 6f |does not| need to|
|000046d0| 20 6d 61 6b 65 20 75 73 | 65 20 6f 66 20 74 68 6f | make us|e of tho|
|000046e0| 73 65 20 70 61 72 61 6d | 65 74 65 72 73 2e 0d 54 |se param|eters..T|
|000046f0| 68 65 20 74 69 6d 65 64 | 43 61 6c 6c 42 61 63 6b |he timed|CallBack|
|00004700| 20 63 61 6e 20 61 6c 73 | 6f 20 62 65 20 75 73 65 | can als|o be use|
|00004710| 64 20 77 69 74 68 20 44 | 69 72 65 63 74 20 6d 6f |d with D|irect mo|
|00004720| 76 69 65 73 2e 20 54 68 | 65 20 77 69 6e 64 6f 77 |vies. Th|e window|
|00004730| 20 70 61 72 61 6d 65 74 | 65 72 20 77 69 6c 6c 20 | paramet|er will |
|00004740| 62 65 20 65 6d 70 74 79 | 20 77 68 65 6e 20 74 68 |be empty| when th|
|00004750| 65 20 63 61 6c 6c 20 62 | 61 63 6b 20 6d 65 73 73 |e call b|ack mess|
|00004760| 61 67 65 20 69 73 20 63 | 61 6c 6c 65 64 2e 0d 51 |age is c|alled..Q|
|00004770| 54 4d 6f 76 69 65 20 44 | 69 72 65 63 74 2c 77 69 |TMovie D|irect,wi|
|00004780| 6e 64 6f 77 49 44 2c 53 | 65 74 2c 74 69 6d 65 64 |ndowID,S|et,timed|
|00004790| 43 61 6c 6c 42 61 63 6b | 2c 22 73 68 6f 77 4d 79 |CallBack|,"showMy|
|000047a0| 50 69 63 74 22 20 26 26 | 20 73 61 76 65 54 69 6d |Pict" &&| saveTim|
|000047b0| 65 0d 54 68 65 20 6d 6f | 75 73 65 44 6f 77 6e 20 |e.The mo|useDown |
|000047c0| 6d 65 73 73 61 67 65 20 | 6f 76 65 72 72 69 64 65 |message |override|
|000047d0| 73 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 62 |s the st|andard b|
|000047e0| 65 68 61 76 69 6f 72 20 | 6f 66 20 63 6c 69 63 6b |ehavior |of click|
|000047f0| 69 6e 67 20 69 6e 20 74 | 68 65 20 6d 6f 76 69 65 |ing in t|he movie|
|00004800| 20 74 6f 20 73 74 6f 70 | 20 61 6e 64 20 73 74 61 | to stop| and sta|
|00004810| 72 74 20 74 68 65 20 6d | 6f 76 69 65 2e 20 49 66 |rt the m|ovie. If|
|00004820| 20 79 6f 75 20 73 74 69 | 6c 6c 20 77 61 6e 74 20 | you sti|ll want |
|00004830| 68 69 73 20 62 65 68 61 | 76 69 6f 72 2c 20 74 68 |his beha|vior, th|
|00004840| 65 6e 20 79 6f 75 20 63 | 61 6e 20 73 65 6e 64 20 |en you c|an send |
|00004850| 74 68 65 20 70 61 73 73 | 4d 6f 75 73 65 44 6f 77 |the pass|MouseDow|
|00004860| 6e 20 6d 65 73 73 61 67 | 65 20 66 72 6f 6d 20 77 |n messag|e from w|
|00004870| 69 74 68 69 6e 20 79 6f | 75 72 20 68 61 6e 64 6c |ithin yo|ur handl|
|00004880| 65 72 3a 0d 6f 6e 20 4d | 79 4d 6f 75 73 65 44 6f |er:.on M|yMouseDo|
|00004890| 77 6e 20 70 74 2c 20 6d | 6f 76 69 65 54 69 6d 65 |wn pt, m|ovieTime|
|000048a0| 2c 20 77 69 6e 64 6f 77 | 4e 61 6d 65 0d 09 69 66 |, window|Name..if|
|000048b0| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 4b 65 79 20 | the com|mandKey |
|000048c0| 69 73 20 64 6f 77 6e 20 | 74 68 65 6e 0d 09 09 2d |is down |then...-|
|000048d0| 2d 20 74 6f 67 67 6c 65 | 20 74 68 65 20 6d 75 74 |- toggle| the mut|
|000048e0| 65 0d 09 09 73 65 74 20 | 6d 75 74 65 20 6f 66 20 |e...set |mute of |
|000048f0| 77 69 6e 64 6f 77 20 77 | 69 6e 64 6f 77 4e 61 6d |window w|indowNam|
|00004900| 65 20 74 6f 20 6e 6f 74 | 20 74 68 65 20 6d 75 74 |e to not| the mut|
|00004910| 65 20 6f 66 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |e of win|dow wind|
|00004920| 6f 77 4e 61 6d 65 0d 09 | 65 6c 73 65 0d 09 09 2d |owName..|else...-|
|00004930| 2d 20 6f 74 68 65 72 77 | 69 73 65 20 6c 65 74 20 |- otherw|ise let |
|00004940| 74 68 65 20 63 6c 69 63 | 6b 20 70 61 73 73 20 74 |the clic|k pass t|
|00004950| 68 72 6f 75 67 68 0d 09 | 09 73 65 6e 64 20 50 61 |hrough..|.send Pa|
|00004960| 73 73 4d 6f 75 73 65 44 | 6f 77 6e 20 74 6f 20 77 |ssMouseD|own to w|
|00004970| 69 6e 64 6f 77 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |indow wi|ndowName|
|00004980| 0d 09 65 6e 64 20 69 66 | 0d 65 6e 64 20 4d 79 4d |..end if|.end MyM|
|00004990| 6f 75 73 65 44 6f 77 6e | 0d 54 68 65 20 6f 70 70 |ouseDown|.The opp|
|000049a0| 6f 73 69 74 65 20 62 65 | 68 61 76 69 6f 72 20 69 |osite be|havior i|
|000049b0| 73 20 74 72 75 65 20 6f | 66 20 74 68 65 20 6d 6f |s true o|f the mo|
|000049c0| 76 69 65 43 6f 6e 74 72 | 6f 6c 4d 73 67 20 6d 65 |vieContr|olMsg me|
|000049d0| 73 73 61 67 65 2e 20 54 | 68 65 20 6d 6f 76 69 65 |ssage. T|he movie|
|000049e0| 20 63 6f 6e 74 72 6f 6c | 20 63 6f 6d 6d 61 6e 64 | control| command|
|000049f0| 20 74 68 61 74 20 69 73 | 20 62 65 69 6e 67 20 69 | that is| being i|
|00004a00| 6e 74 65 72 63 65 70 74 | 65 64 20 77 69 6c 6c 20 |ntercept|ed will |
|00004a10| 62 65 20 65 78 65 63 75 | 74 65 64 20 75 6e 6c 65 |be execu|ted unle|
|00004a20| 73 73 20 74 68 65 20 63 | 61 6e 63 65 6c 4d 65 73 |ss the c|ancelMes|
|00004a30| 73 61 67 65 20 6d 65 73 | 73 61 67 65 20 69 73 20 |sage mes|sage is |
|00004a40| 63 61 6c 6c 65 64 20 66 | 72 6f 6d 20 79 6f 75 72 |called f|rom your|
|00004a50| 20 68 61 6e 64 6c 65 72 | 2e 0d 6f 6e 20 4c 69 6d | handler|..on Lim|
|00004a60| 69 74 53 6f 75 6e 64 20 | 61 63 74 69 6f 6e 43 6f |itSound |actionCo|
|00004a70| 64 65 2c 70 61 72 61 6d | 2c 77 4e 61 6d 65 0d 09 |de,param|,wName..|
|00004a80| 69 66 20 61 63 74 69 6f | 6e 43 6f 64 65 20 3d 20 |if actio|nCode = |
|00004a90| 31 34 20 74 68 65 6e 0d | 09 09 69 66 20 70 61 72 |14 then.|..if par|
|00004aa0| 61 6d 20 3e 20 31 32 38 | 20 74 68 65 6e 20 73 65 |am > 128| then se|
|00004ab0| 6e 64 20 63 61 6e 63 65 | 6c 4d 65 73 73 61 67 65 |nd cance|lMessage|
|00004ac0| 20 74 6f 20 77 69 6e 64 | 6f 77 20 77 4e 61 6d 65 | to wind|ow wName|
|00004ad0| 0d 09 65 6e 64 20 69 66 | 09 0d 65 6e 64 20 4c 69 |..end if|..end Li|
|00004ae0| 6d 69 74 53 6f 75 6e 64 | 20 0d 4d 6f 72 65 20 6f |mitSound| .More o|
|00004af0| 6e 20 43 6f 6e 74 72 6f | 6c 6c 69 6e 67 20 4d 6f |n Contro|lling Mo|
|00004b00| 76 69 65 73 0d 57 68 65 | 6e 20 51 75 69 63 6b 54 |vies.Whe|n QuickT|
|00004b10| 69 6d 65 20 69 73 20 70 | 6c 61 79 69 6e 67 20 61 |ime is p|laying a|
|00004b20| 20 6d 6f 76 69 65 20 69 | 74 20 75 73 65 73 20 74 | movie i|t uses t|
|00004b30| 68 65 20 6d 6f 76 69 65 | d5 73 20 63 75 72 72 65 |he movie|.s curre|
|00004b40| 6e 74 20 72 61 74 65 20 | 73 65 74 74 69 6e 67 20 |nt rate |setting |
|00004b50| 74 6f 20 64 65 74 65 72 | 6d 69 6e 65 20 68 6f 77 |to deter|mine how|
|00004b60| 20 66 61 73 74 20 74 6f | 20 70 6c 61 79 20 74 68 | fast to| play th|
|00004b70| 65 20 6d 6f 76 69 65 2e | 20 53 6f 6d 65 74 69 6d |e movie.| Sometim|
|00004b80| 65 73 20 74 68 69 73 20 | 6d 61 79 20 6d 65 61 6e |es this |may mean|
|00004b90| 20 74 68 61 74 20 69 6e | 20 6f 72 64 65 72 20 74 | that in| order t|
|00004ba0| 6f 20 6d 61 69 6e 74 61 | 69 6e 20 74 68 61 74 20 |o mainta|in that |
|00004bb0| 72 61 74 65 2c 20 73 6f | 6d 65 20 6d 6f 76 69 65 |rate, so|me movie|
|00004bc0| 20 66 72 61 6d 65 73 20 | 77 69 6c 6c 20 68 61 76 | frames |will hav|
|00004bd0| 65 20 74 6f 20 62 65 20 | 64 72 6f 70 70 65 64 20 |e to be |dropped |
|00004be0| 28 6e 6f 74 20 64 69 73 | 70 6c 61 79 65 64 29 20 |(not dis|played) |
|00004bf0| 73 69 6e 63 65 20 74 68 | 65 20 64 65 63 6f 6d 70 |since th|e decomp|
|00004c00| 72 65 73 73 69 6f 6e 20 | 61 6e 64 20 64 69 73 70 |ression |and disp|
|00004c10| 6c 61 79 20 6f 66 20 74 | 68 65 20 70 72 65 76 69 |lay of t|he previ|
|00004c20| 6f 75 73 20 66 72 61 6d | 65 20 74 6f 6f 6b 20 74 |ous fram|e took t|
|00004c30| 6f 6f 20 6c 6f 6e 67 2e | 20 46 6f 72 20 73 6f 6d |oo long.| For som|
|00004c40| 65 20 6d 6f 76 69 65 73 | 20 69 74 20 69 73 20 6d |e movies| it is m|
|00004c50| 6f 72 65 20 69 6d 70 6f | 72 74 61 6e 74 20 74 6f |ore impo|rtant to|
|00004c60| 20 73 65 65 20 61 6c 6c | 20 6f 66 20 74 68 65 20 | see all| of the |
|00004c70| 66 72 61 6d 65 73 20 72 | 61 74 68 65 72 20 74 68 |frames r|ather th|
|00004c80| 61 6e 20 6d 61 69 6e 74 | 61 69 6e 20 61 6e 79 20 |an maint|ain any |
|00004c90| 70 61 72 74 69 63 75 6c | 61 72 20 6d 6f 76 69 65 |particul|ar movie|
|00004ca0| 20 72 61 74 65 2e 20 46 | 6f 72 20 74 68 65 73 65 | rate. F|or these|
|00004cb0| 20 6d 6f 76 69 65 73 20 | 79 6f 75 20 63 61 6e 20 | movies |you can |
|00004cc0| 73 65 74 20 74 68 65 20 | 73 65 65 41 6c 6c 46 72 |set the |seeAllFr|
|00004cd0| 61 6d 65 73 20 69 6e 69 | 74 69 61 6c 20 6f 70 74 |ames ini|tial opt|
|00004ce0| 69 6f 6e 20 28 6f 72 20 | 61 66 74 65 72 20 74 68 |ion (or |after th|
|00004cf0| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 6f 70 65 6e |e window| is open|
|00004d00| 65 64 2c 20 73 65 74 20 | 74 68 65 20 73 65 65 41 |ed, set |the seeA|
|00004d10| 6c 6c 46 72 61 6d 65 73 | 20 70 72 6f 70 65 72 74 |llFrames| propert|
|00004d20| 79 20 74 6f 20 74 72 75 | 65 29 2e 20 49 6e 20 74 |y to tru|e). In t|
|00004d30| 68 69 73 20 6d 6f 64 65 | 20 6e 6f 20 66 72 61 6d |his mode| no fram|
|00004d40| 65 73 20 61 72 65 20 64 | 72 6f 70 70 65 64 2e 20 |es are d|ropped. |
|00004d50| 54 68 65 79 20 61 72 65 | 20 73 69 6d 70 6c 79 20 |They are| simply |
|00004d60| 64 69 73 70 6c 61 79 65 | 64 20 73 65 71 75 65 6e |displaye|d sequen|
|00004d70| 74 69 61 6c 6c 79 20 61 | 73 20 66 61 73 74 20 61 |tially a|s fast a|
|00004d80| 73 20 70 6f 73 73 69 62 | 6c 65 2e 20 4e 6f 74 65 |s possib|le. Note|
|00004d90| 2c 20 68 6f 77 65 76 65 | 72 2c 20 74 68 61 74 20 |, howeve|r, that |
|00004da0| 73 6f 75 6e 64 20 74 72 | 61 63 6b 73 20 77 69 6c |sound tr|acks wil|
|00004db0| 6c 20 6e 6f 74 20 70 6c | 61 79 20 69 6e 20 74 68 |l not pl|ay in th|
|00004dc0| 69 73 20 6d 6f 64 65 2e | 0d 49 66 20 79 6f 75 20 |is mode.|.If you |
|00004dd0| 73 65 74 20 74 68 65 20 | 65 6e 61 62 6c 65 4b 65 |set the |enableKe|
|00004de0| 79 73 20 70 72 6f 70 65 | 72 74 79 20 74 6f 20 74 |ys prope|rty to t|
|00004df0| 72 75 65 2c 20 79 6f 75 | 20 63 61 6e 20 75 73 65 |rue, you| can use|
|00004e00| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 6d 6f | the sta|ndard mo|
|00004e10| 76 69 65 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 d5 73 |vie cont|roller.s|
|00004e20| 20 6b 65 79 62 6f 61 72 | 64 20 65 71 75 69 76 61 | keyboar|d equiva|
|00004e30| 6c 65 6e 74 73 20 74 6f | 20 63 6f 6e 74 72 6f 6c |lents to| control|
|00004e40| 20 74 68 65 20 6d 6f 76 | 69 65 2e 20 46 75 6c 6c | the mov|ie. Full|
|00004e50| 20 64 65 74 61 69 6c 73 | 20 63 61 6e 20 62 65 20 | details| can be |
|00004e60| 66 6f 75 6e 64 20 69 6e | 20 74 68 65 20 73 74 61 |found in| the sta|
|00004e70| 6e 64 61 72 64 20 6d 6f | 76 69 65 20 63 6f 6e 74 |ndard mo|vie cont|
|00004e80| 72 6f 6c 6c 65 72 20 64 | 6f 63 75 6d 65 6e 74 61 |roller d|ocumenta|
|00004e90| 74 69 6f 6e 20 28 69 6e | 20 6f 74 68 65 72 20 77 |tion (in| other w|
|00004ea0| 6f 72 64 73 2c 20 49 20 | 64 6f 6e d5 74 20 6b 6e |ords, I |don.t kn|
|00004eb0| 6f 77 20 61 6c 6c 20 74 | 68 65 20 6b 65 79 62 6f |ow all t|he keybo|
|00004ec0| 61 72 64 20 73 68 6f 72 | 74 63 75 74 73 29 2e 20 |ard shor|tcuts). |
|00004ed0| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 65 20 6d 6f |Note tha|t the mo|
|00004ee0| 76 69 65 20 77 69 6e 64 | 6f 77 20 6d 75 73 74 20 |vie wind|ow must |
|00004ef0| 62 65 20 74 68 65 20 22 | 61 63 74 69 76 65 22 20 |be the "|active" |
|00004f00| 77 69 6e 64 6f 77 20 66 | 6f 72 20 6b 65 79 62 6f |window f|or keybo|
|00004f10| 61 72 64 20 63 6f 6d 6d | 61 6e 64 73 20 62 65 20 |ard comm|ands be |
|00004f20| 73 65 6e 74 20 74 6f 20 | 74 68 65 20 77 69 6e 64 |sent to |the wind|
|00004f30| 6f 77 2e 20 43 6c 69 63 | 6b 69 6e 67 20 69 6e 20 |ow. Clic|king in |
|00004f40| 74 68 65 20 77 69 6e 64 | 6f 77 20 77 69 6c 6c 20 |the wind|ow will |
|00004f50| 6d 61 6b 65 20 69 74 20 | 61 63 74 69 76 65 2e 20 |make it |active. |
|00004f60| 0d 49 6e 20 61 64 64 69 | 74 69 6f 6e 20 74 6f 20 |.In addi|tion to |
|00004f70| 74 68 65 20 6c 6f 6f 70 | 20 70 72 6f 70 65 72 74 |the loop| propert|
|00004f80| 79 20 6d 65 6e 74 69 6f | 6e 65 64 20 62 65 66 6f |y mentio|ned befo|
|00004f90| 72 65 20 79 6f 75 20 63 | 61 6e 20 61 6c 73 6f 20 |re you c|an also |
|00004fa0| 73 65 74 20 74 68 65 20 | 70 61 6c 69 6e 64 72 6f |set the |palindro|
|00004fb0| 6d 65 20 70 72 6f 70 65 | 72 74 79 20 28 6f 72 20 |me prope|rty (or |
|00004fc0| 68 61 76 65 20 69 74 20 | 61 73 20 61 6e 20 69 6e |have it |as an in|
|00004fd0| 69 74 69 61 6c 20 6f 70 | 74 69 6f 6e 29 2e 20 57 |itial op|tion). W|
|00004fe0| 68 65 6e 20 69 6e 20 70 | 61 6c 69 6e 64 72 6f 6d |hen in p|alindrom|
|00004ff0| 65 20 6d 6f 64 65 2c 20 | 74 68 65 20 6d 6f 76 69 |e mode, |the movi|
|00005000| 65 20 6c 6f 6f 70 73 20 | 62 61 63 6b 20 61 6e 64 |e loops |back and|
|00005010| 20 66 6f 72 74 68 20 62 | 65 74 77 65 65 6e 20 74 | forth b|etween t|
|00005020| 68 65 20 62 65 67 69 6e | 6e 69 6e 67 20 74 6f 20 |he begin|ning to |
|00005030| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 6d |the end |of the m|
|00005040| 6f 76 69 65 20 28 6f 72 | 20 73 65 67 6d 65 6e 74 |ovie (or| segment|
|00005050| 2c 20 73 65 65 20 66 6f | 6c 6c 6f 77 69 6e 67 29 |, see fo|llowing)|
|00005060| 2e 0d 59 6f 75 20 63 61 | 6e 20 73 70 65 63 69 66 |..You ca|n specif|
|00005070| 79 20 61 20 73 65 67 6d | 65 6e 74 20 6f 66 20 74 |y a segm|ent of t|
|00005080| 68 65 20 6d 6f 76 69 65 | 20 74 6f 20 70 6c 61 79 |he movie| to play|
|00005090| 20 62 79 20 73 65 74 74 | 69 6e 67 20 74 68 65 20 | by sett|ing the |
|000050a0| 73 65 67 6d 65 6e 74 53 | 74 61 72 74 20 61 6e 64 |segmentS|tart and|
|000050b0| 20 73 65 67 6d 65 6e 74 | 45 6e 64 20 70 72 6f 70 | segment|End prop|
|000050c0| 65 72 74 69 65 73 3a 0d | 73 65 74 20 73 65 67 6d |erties:.|set segm|
|000050d0| 65 6e 74 53 74 61 72 74 | 20 6f 66 20 77 69 6e 64 |entStart| of wind|
|000050e0| 6f 77 20 22 6d 79 4d 6f | 76 69 65 22 20 74 6f 20 |ow "myMo|vie" to |
|000050f0| 31 30 30 0d 73 65 74 20 | 73 65 67 6d 65 6e 74 45 |100.set |segmentE|
|00005100| 6e 64 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 6d 79 |nd of wi|ndow "my|
|00005110| 4d 6f 76 69 65 22 20 74 | 6f 20 34 30 30 0d 73 65 |Movie" t|o 400.se|
|00005120| 74 20 73 65 67 6d 65 6e | 74 50 6c 61 79 20 6f 66 |t segmen|tPlay of|
|00005130| 20 77 69 6e 64 6f 77 20 | 22 6d 79 4d 6f 76 69 65 | window |"myMovie|
|00005140| 22 20 74 6f 20 74 72 75 | 65 0d 53 65 74 74 69 6e |" to tru|e.Settin|
|00005150| 67 20 73 65 67 6d 65 6e | 74 50 6c 61 79 20 74 6f |g segmen|tPlay to|
|00005160| 20 74 72 75 65 20 77 69 | 6c 6c 20 63 61 75 73 65 | true wi|ll cause|
|00005170| 20 74 68 65 20 73 65 67 | 6d 65 6e 74 20 73 70 65 | the seg|ment spe|
|00005180| 63 69 66 69 65 64 20 74 | 6f 20 62 65 20 70 6c 61 |cified t|o be pla|
|00005190| 79 65 64 2e 20 54 68 65 | 20 74 69 6d 65 73 20 73 |yed. The| times s|
|000051a0| 70 65 63 69 66 69 65 64 | 20 61 72 65 20 69 6e 20 |pecified| are in |
|000051b0| 6d 6f 76 69 65 20 74 69 | 6d 65 2e 20 49 66 20 6c |movie ti|me. If l|
|000051c0| 6f 6f 70 20 6f 72 20 70 | 61 6c 69 6e 64 72 6f 6d |oop or p|alindrom|
|000051d0| 65 20 69 73 20 73 65 74 | 2c 20 74 68 65 6e 20 74 |e is set|, then t|
|000051e0| 68 65 20 73 65 67 6d 65 | 6e 74 20 77 69 6c 6c 20 |he segme|nt will |
|000051f0| 62 65 20 70 6c 61 79 65 | 64 20 63 6f 6e 74 69 6e |be playe|d contin|
|00005200| 75 6f 75 73 6c 79 20 69 | 6e 20 74 68 61 74 20 6d |uously i|n that m|
|00005210| 6f 64 65 2c 20 6f 74 68 | 65 72 77 69 73 65 20 69 |ode, oth|erwise i|
|00005220| 74 20 77 69 6c 6c 20 73 | 74 6f 70 20 61 74 20 74 |t will s|top at t|
|00005230| 68 65 20 65 6e 64 20 74 | 69 6d 65 20 73 70 65 63 |he end t|ime spec|
|00005240| 69 66 69 65 64 2e 20 49 | 66 20 74 68 65 20 65 6e |ified. I|f the en|
|00005250| 64 20 74 69 6d 65 20 70 | 72 65 63 65 64 65 73 20 |d time p|recedes |
|00005260| 74 68 65 20 73 74 61 72 | 74 20 74 69 6d 65 2c 20 |the star|t time, |
|00005270| 74 68 65 6e 20 74 68 65 | 20 73 65 67 6d 65 6e 74 |then the| segment|
|00005280| 20 77 69 6c 6c 20 62 65 | 20 70 6c 61 79 65 64 20 | will be| played |
|00005290| 62 61 63 6b 77 61 72 64 | 73 2e 20 54 6f 20 65 78 |backward|s. To ex|
|000052a0| 69 74 20 73 65 67 6d 65 | 6e 74 20 70 6c 61 79 20 |it segme|nt play |
|000052b0| 6d 6f 64 65 2c 20 73 65 | 74 20 73 65 67 6d 65 6e |mode, se|t segmen|
|000052c0| 74 50 6c 61 79 20 74 6f | 20 66 61 6c 73 65 2e 20 |tPlay to| false. |
|000052d0| 59 6f 75 20 63 61 6e 20 | 68 61 76 65 20 74 68 65 |You can |have the|
|000052e0| 20 73 65 67 6d 65 6e 74 | 20 6c 6f 61 64 65 64 20 | segment| loaded |
|000052f0| 69 6e 74 6f 20 52 41 4d | 20 28 61 73 20 6d 75 63 |into RAM| (as muc|
|00005300| 68 20 61 73 20 6d 65 6d | 6f 72 79 20 61 6c 6c 6f |h as mem|ory allo|
|00005310| 77 73 29 20 62 79 20 73 | 65 6e 64 69 6e 67 20 74 |ws) by s|ending t|
|00005320| 68 65 20 6c 6f 61 64 53 | 65 67 49 6e 74 6f 52 41 |he loadS|egIntoRA|
|00005330| 4d 20 6d 65 73 73 61 67 | 65 3a 0d 73 65 6e 64 20 |M messag|e:.send |
|00005340| 6c 6f 61 64 53 65 67 49 | 6e 74 6f 52 41 4d 20 74 |loadSegI|ntoRAM t|
|00005350| 6f 20 77 69 6e 64 6f 77 | 20 22 6d 79 4d 6f 76 69 |o window| "myMovi|
|00005360| 65 22 0d 59 6f 75 20 63 | 61 6e 20 61 6c 73 6f 20 |e".You c|an also |
|00005370| 73 70 65 63 69 66 79 20 | 6c 6f 61 64 4d 6f 76 69 |specify |loadMovi|
|00005380| 65 49 6e 74 6f 52 41 4d | 20 61 73 20 61 6e 20 6f |eIntoRAM| as an o|
|00005390| 70 74 69 6f 6e 20 74 6f | 20 4f 70 65 6e 4d 6f 76 |ption to| OpenMov|
|000053a0| 69 65 2e 20 54 68 65 20 | 58 43 4d 44 20 77 69 6c |ie. The |XCMD wil|
|000053b0| 6c 20 61 74 74 65 6d 70 | 74 20 74 6f 20 70 72 65 |l attemp|t to pre|
|000053c0| 6c 6f 61 64 20 61 73 20 | 6d 75 63 68 20 61 73 20 |load as |much as |
|000053d0| 74 68 65 20 6d 6f 76 69 | 65 20 61 73 20 70 6f 73 |the movi|e as pos|
|000053e0| 73 69 62 6c 65 20 69 6e | 74 6f 20 52 41 4d 20 62 |sible in|to RAM b|
|000053f0| 65 66 6f 72 65 20 70 6c | 61 79 69 6e 67 20 74 68 |efore pl|aying th|
|00005400| 65 20 6d 6f 76 69 65 2e | 0d 4d 61 6e 79 20 51 75 |e movie.|.Many Qu|
|00005410| 69 63 6b 54 69 6d 65 20 | 6d 6f 76 69 65 73 20 68 |ickTime |movies h|
|00005420| 61 76 65 20 76 69 64 65 | 6f 20 74 72 61 63 6b 73 |ave vide|o tracks|
|00005430| 20 77 68 6f 73 65 20 76 | 69 64 65 6f 20 63 6f 6d | whose v|ideo com|
|00005440| 70 72 65 73 73 69 6f 6e | 20 73 63 68 65 6d 65 20 |pression| scheme |
|00005450| 75 73 65 73 20 66 72 61 | 6d 65 20 64 69 66 66 65 |uses fra|me diffe|
|00005460| 72 65 6e 63 65 73 20 77 | 69 74 68 20 70 65 72 69 |rences w|ith peri|
|00005470| 6f 64 69 63 20 6b 65 79 | 20 66 72 61 6d 65 73 2e |odic key| frames.|
|00005480| 20 54 6f 20 71 75 69 63 | 6b 6c 79 20 67 6f 20 74 | To quic|kly go t|
|00005490| 6f 20 74 68 65 20 6e 65 | 78 74 20 6f 72 20 70 72 |o the ne|xt or pr|
|000054a0| 65 76 69 6f 75 73 20 6b | 65 79 20 66 72 61 6d 65 |evious k|ey frame|
|000054b0| 20 69 6e 20 61 20 6d 6f | 76 69 65 20 79 6f 75 20 | in a mo|vie you |
|000054c0| 63 61 6e 20 73 65 6e 64 | 20 74 68 65 20 47 6f 4e |can send| the GoN|
|000054d0| 65 78 74 4b 65 79 46 72 | 61 6d 65 20 6f 72 20 47 |extKeyFr|ame or G|
|000054e0| 6f 50 72 65 76 4b 65 79 | 46 72 61 6d 65 20 6d 65 |oPrevKey|Frame me|
|000054f0| 73 73 61 67 65 73 2e 0d | 50 72 65 76 69 6f 75 73 |ssages..|Previous|
|00005500| 6c 79 20 6d 65 6e 74 69 | 6f 6e 65 64 20 77 65 72 |ly menti|oned wer|
|00005510| 65 20 74 68 65 20 53 68 | 6f 77 43 6f 6e 74 72 6f |e the Sh|owContro|
|00005520| 6c 6c 65 72 20 61 6e 64 | 20 48 69 64 65 43 6f 6e |ller and| HideCon|
|00005530| 74 72 6f 6c 6c 65 72 20 | 6d 65 73 73 61 67 65 73 |troller |messages|
|00005540| 20 74 68 61 74 20 77 69 | 6c 6c 20 73 68 6f 77 20 | that wi|ll show |
|00005550| 6f 72 20 68 69 64 65 20 | 74 68 65 20 6d 6f 76 69 |or hide |the movi|
|00005560| 65 20 63 6f 6e 74 72 6f | 6c 6c 65 72 2e 20 59 6f |e contro|ller. Yo|
|00005570| 75 20 63 61 6e 20 66 69 | 6e 64 20 6f 75 74 20 69 |u can fi|nd out i|
|00005580| 66 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |f the co|ntroller|
|00005590| 20 69 73 20 63 75 72 72 | 65 6e 74 6c 79 20 76 69 | is curr|ently vi|
|000055a0| 73 69 62 6c 65 20 62 79 | 20 67 65 74 74 69 6e 67 |sible by| getting|
|000055b0| 20 74 68 65 20 68 61 73 | 43 6f 6e 74 72 6f 6c 6c | the has|Controll|
|000055c0| 65 72 20 70 72 6f 70 65 | 72 74 79 2c 20 77 68 69 |er prope|rty, whi|
|000055d0| 63 68 20 72 65 74 75 72 | 6e 73 20 74 72 75 65 20 |ch retur|ns true |
|000055e0| 6f 72 20 66 61 6c 73 65 | 2e 20 41 6e 6f 74 68 65 |or false|. Anothe|
|000055f0| 72 20 6d 65 74 68 6f 64 | 20 6f 66 20 73 68 6f 77 |r method| of show|
|00005600| 69 6e 67 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 6c |ing the |controll|
|00005610| 65 72 20 69 73 20 62 79 | 20 75 73 69 6e 67 20 74 |er is by| using t|
|00005620| 68 65 20 73 74 61 6e 64 | 61 72 64 20 6d 6f 76 69 |he stand|ard movi|
|00005630| 65 20 63 6f 6e 74 72 6f | 6c 6c 65 72 20 62 61 64 |e contro|ller bad|
|00005640| 67 65 20 6f 70 74 69 6f | 6e 2e 20 49 66 20 79 6f |ge optio|n. If yo|
|00005650| 75 20 73 65 74 20 74 68 | 65 20 62 61 64 67 65 20 |u set th|e badge |
|00005660| 70 72 6f 70 65 72 74 79 | 20 74 6f 20 74 72 75 65 |property| to true|
|00005670| 20 28 6f 72 20 73 65 74 | 20 74 68 65 20 62 61 64 | (or set| the bad|
|00005680| 67 65 20 69 6e 69 74 69 | 61 6c 20 6f 70 74 69 6f |ge initi|al optio|
|00005690| 6e 29 2c 20 74 68 65 6e | 2c 20 77 68 65 6e 65 76 |n), then|, whenev|
|000056a0| 65 72 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 6c 65 |er the c|ontrolle|
|000056b0| 72 20 69 73 20 6e 6f 74 | 20 76 69 73 69 62 6c 65 |r is not| visible|
|000056c0| 20 61 20 73 6d 61 6c 6c | 20 6d 6f 76 69 65 20 69 | a small| movie i|
|000056d0| 63 6f 6e 20 28 63 61 6c | 6c 65 64 2c 20 67 75 65 |con (cal|led, gue|
|000056e0| 73 73 20 77 68 61 74 3f | 2c 20 61 20 62 61 64 67 |ss what?|, a badg|
|000056f0| 65 21 29 20 61 70 70 65 | 61 72 73 20 69 6e 20 74 |e!) appe|ars in t|
|00005700| 68 65 20 6c 6f 77 65 72 | 20 6c 65 66 74 20 70 6f |he lower| left po|
|00005710| 72 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 6d 6f 76 |rtion of| the mov|
|00005720| 69 65 20 77 68 65 6e 20 | 74 68 65 20 6d 6f 76 69 |ie when |the movi|
|00005730| 65 20 69 73 20 70 61 75 | 73 65 64 2e 20 49 66 20 |e is pau|sed. If |
|00005740| 79 6f 75 20 63 6c 69 63 | 6b 20 6f 6e 20 74 68 65 |you clic|k on the|
|00005750| 20 62 61 64 67 65 20 74 | 68 65 20 6d 6f 76 69 65 | badge t|he movie|
|00005760| 20 63 6f 6e 74 72 6f 6c | 6c 65 72 20 61 70 70 65 | control|ler appe|
|00005770| 61 72 73 2e 20 55 6e 66 | 6f 72 74 75 6e 61 74 65 |ars. Unf|ortunate|
|00005780| 6c 79 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 73 |ly there| is no s|
|00005790| 74 61 6e 64 61 72 64 20 | 69 6e 74 65 72 66 61 63 |tandard |interfac|
|000057a0| 65 20 66 6f 72 20 6d 61 | 6b 69 6e 67 20 74 68 65 |e for ma|king the|
|000057b0| 20 63 6f 6e 74 72 6f 6c | 6c 65 72 20 64 69 73 61 | control|ler disa|
|000057c0| 70 70 65 61 72 20 61 6e | 64 20 74 68 65 20 62 61 |ppear an|d the ba|
|000057d0| 64 67 65 20 72 65 61 70 | 70 65 61 72 2e 20 4f 6e |dge reap|pear. On|
|000057e0| 65 20 70 6f 73 73 69 62 | 6c 65 20 73 63 65 6e 61 |e possib|le scena|
|000057f0| 72 69 6f 20 69 73 20 74 | 6f 20 68 61 76 65 20 61 |rio is t|o have a|
|00005800| 20 74 69 6d 65 64 20 63 | 61 6c 6c 20 62 61 63 6b | timed c|all back|
|00005810| 20 6d 65 73 73 61 67 65 | 20 74 68 61 74 20 74 72 | message| that tr|
|00005820| 69 67 67 65 72 73 20 77 | 68 65 6e 20 74 68 65 20 |iggers w|hen the |
|00005830| 6d 6f 76 69 65 20 68 69 | 74 73 20 74 68 65 20 65 |movie hi|ts the e|
|00005840| 6e 64 20 77 68 69 63 68 | 20 68 69 64 65 73 20 74 |nd which| hides t|
|00005850| 68 65 20 63 6f 6e 74 72 | 6f 6c 6c 65 72 2e 20 54 |he contr|oller. T|
|00005860| 68 65 20 73 68 6f 77 50 | 6f 73 74 65 72 20 6d 65 |he showP|oster me|
|00005870| 73 73 61 67 65 20 77 69 | 6c 6c 20 70 6f 73 69 74 |ssage wi|ll posit|
|00005880| 69 6f 6e 20 74 68 65 20 | 6d 6f 76 69 65 20 61 74 |ion the |movie at|
|00005890| 20 74 68 65 20 70 6f 73 | 74 65 72 20 66 72 61 6d | the pos|ter fram|
|000058a0| 65 20 66 6f 72 20 74 68 | 65 20 6d 6f 76 69 65 2e |e for th|e movie.|
|000058b0| 20 59 6f 75 20 63 61 6e | 20 61 6c 73 6f 20 73 70 | You can| also sp|
|000058c0| 65 63 69 66 79 20 73 68 | 6f 77 50 6f 73 74 65 72 |ecify sh|owPoster|
|000058d0| 20 61 73 20 61 6e 20 6f | 70 74 69 6f 6e 20 74 6f | as an o|ption to|
|000058e0| 20 4f 70 65 6e 4d 6f 76 | 69 65 2e 20 28 54 68 65 | OpenMov|ie. (The|
|000058f0| 20 51 54 45 64 69 74 4d | 6f 76 69 65 20 58 43 4d | QTEditM|ovie XCM|
|00005900| 44 20 61 6c 6c 6f 77 73 | 20 79 6f 75 20 74 6f 20 |D allows| you to |
|00005910| 73 65 74 20 74 68 65 20 | 6d 6f 76 69 65 20 70 6f |set the |movie po|
|00005920| 73 74 65 72 2e 29 0d 49 | 6e 20 74 68 65 20 73 65 |ster.).I|n the se|
|00005930| 63 74 69 6f 6e 20 61 62 | 6f 76 65 20 6f 6e 20 44 |ction ab|ove on D|
|00005940| 69 72 65 63 74 20 6d 6f | 76 69 65 73 2c 20 74 68 |irect mo|vies, th|
|00005950| 65 20 49 64 6c 65 20 6d | 65 73 73 61 67 65 20 6e |e Idle m|essage n|
|00005960| 65 65 64 65 64 20 74 6f | 20 62 65 20 63 61 6c 6c |eeded to| be call|
|00005970| 65 64 20 61 73 20 66 72 | 65 71 75 65 6e 74 6c 79 |ed as fr|equently|
|00005980| 20 61 73 20 70 6f 73 73 | 69 62 6c 65 20 69 6e 20 | as poss|ible in |
|00005990| 6f 72 64 65 72 20 66 6f | 72 20 74 68 65 20 6d 6f |order fo|r the mo|
|000059a0| 76 69 65 20 74 6f 20 70 | 6c 61 79 2e 20 54 68 69 |vie to p|lay. Thi|
|000059b0| 73 20 69 73 20 6e 6f 74 | 20 6e 65 63 65 73 73 61 |s is not| necessa|
|000059c0| 72 79 20 66 6f 72 20 61 | 20 77 69 6e 64 6f 77 20 |ry for a| window |
|000059d0| 6d 6f 76 69 65 2c 20 73 | 69 6e 63 65 20 48 79 70 |movie, s|ince Hyp|
|000059e0| 65 72 43 61 72 64 20 61 | 75 74 6f 6d 61 74 69 63 |erCard a|utomatic|
|000059f0| 61 6c 6c 79 20 67 69 76 | 65 73 20 74 68 65 20 77 |ally giv|es the w|
|00005a00| 69 6e 64 6f 77 20 69 64 | 6c 65 20 74 69 6d 65 2e |indow id|le time.|
|00005a10| 20 48 6f 77 65 76 65 72 | 2c 20 69 66 20 79 6f 75 | However|, if you|
|00005a20| 20 68 61 76 65 20 61 20 | 73 63 72 69 70 74 20 74 | have a |script t|
|00005a30| 68 61 74 20 63 6f 6e 74 | 61 69 6e 73 20 61 20 6c |hat cont|ains a l|
|00005a40| 6f 6f 70 20 74 68 61 74 | 20 64 6f 65 73 20 6e 6f |oop that| does no|
|00005a50| 74 20 65 78 69 74 20 66 | 6f 72 20 73 6f 6d 65 20 |t exit f|or some |
|00005a60| 74 69 6d 65 20 20 20 79 | 6f 75 20 73 68 6f 75 6c |time y|ou shoul|
|00005a70| 64 20 73 65 6e 64 20 74 | 68 65 20 49 64 6c 65 20 |d send t|he Idle |
|00005a80| 6d 65 73 73 61 67 65 20 | 74 6f 20 74 68 65 20 6d |message |to the m|
|00005a90| 6f 76 69 65 20 77 69 6e | 64 6f 77 20 66 72 6f 6d |ovie win|dow from|
|00005aa0| 20 77 69 74 68 69 6e 20 | 74 68 65 20 6c 6f 6f 70 | within |the loop|
|00005ab0| 2e 0d 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 74 |..For ex|ample, t|
|00005ac0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 62 75 74 |he follo|wing but|
|00005ad0| 74 6f 6e 20 73 63 72 69 | 70 74 20 73 65 74 73 20 |ton scri|pt sets |
|00005ae0| 74 68 65 20 72 61 74 65 | 20 6f 66 20 74 68 65 20 |the rate| of the |
|00005af0| 6d 6f 76 69 65 20 62 61 | 73 65 64 20 6f 6e 20 74 |movie ba|sed on t|
|00005b00| 68 65 20 68 6f 72 69 7a | 6f 6e 74 61 6c 20 6d 6f |he horiz|ontal mo|
|00005b10| 75 73 65 20 70 6f 73 69 | 74 69 6f 6e 20 77 69 74 |use posi|tion wit|
|00005b20| 68 69 6e 20 74 68 65 20 | 62 75 74 74 6f 6e 2e 20 |hin the |button. |
|00005b30| 49 66 20 74 68 65 20 49 | 64 6c 65 20 6d 65 73 73 |If the I|dle mess|
|00005b40| 61 67 65 20 69 73 20 6e | 6f 74 20 73 65 6e 74 20 |age is n|ot sent |
|00005b50| 77 69 74 68 69 6e 20 74 | 68 65 20 72 65 70 65 61 |within t|he repea|
|00005b60| 74 20 6c 6f 6f 70 2c 20 | 74 68 65 20 6d 6f 76 69 |t loop, |the movi|
|00005b70| 65 20 77 69 6c 6c 20 63 | 6f 6d 65 20 74 6f 20 61 |e will c|ome to a|
|00005b80| 20 68 61 6c 74 20 77 68 | 69 6c 65 20 74 68 65 20 | halt wh|ile the |
|00005b90| 6d 6f 75 73 65 20 62 75 | 74 74 6f 6e 20 69 73 20 |mouse bu|tton is |
|00005ba0| 68 65 6c 64 20 64 6f 77 | 6e 2e 0d 6f 6e 20 6d 6f |held dow|n..on mo|
|00005bb0| 75 73 65 44 6f 77 6e 0d | 09 67 6c 6f 62 61 6c 20 |useDown.|.global |
|00005bc0| 63 75 72 72 57 69 6e 64 | 6f 77 20 0d 09 69 66 20 |currWind|ow ..if |
|00005bd0| 74 68 65 72 65 20 69 73 | 20 6e 6f 74 20 61 20 77 |there is| not a w|
|00005be0| 69 6e 64 6f 77 20 63 75 | 72 72 57 69 6e 64 6f 77 |indow cu|rrWindow|
|00005bf0| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 6f 75 73 65 | then ex|it mouse|
|00005c00| 44 6f 77 6e 0d 09 72 65 | 70 65 61 74 20 77 68 69 |Down..re|peat whi|
|00005c10| 6c 65 20 74 68 65 20 6d | 6f 75 73 65 20 69 73 20 |le the m|ouse is |
|00005c20| 64 6f 77 6e 0d 09 09 69 | 66 20 74 68 65 20 6d 6f |down...i|f the mo|
|00005c30| 75 73 65 4c 6f 63 20 69 | 73 20 77 69 74 68 69 6e |useLoc i|s within|
|00005c40| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 6d 65 20 | the rec|t of me |
|00005c50| 74 68 65 6e 0d 09 09 09 | 70 75 74 20 74 68 65 20 |then....|put the |
|00005c60| 6d 6f 75 73 65 48 2d 74 | 68 65 20 6c 65 66 74 20 |mouseH-t|he left |
|00005c70| 6f 66 20 6d 65 20 69 6e | 74 6f 20 64 78 0d 09 09 |of me in|to dx...|
|00005c80| 09 70 75 74 20 64 78 20 | 2f 20 74 68 65 20 77 69 |.put dx |/ the wi|
|00005c90| 64 74 68 20 6f 66 20 6d | 65 20 2a 20 32 20 69 6e |dth of m|e * 2 in|
|00005ca0| 74 6f 20 6e 65 77 52 61 | 74 65 20 2d 2d 20 73 65 |to newRa|te -- se|
|00005cb0| 74 20 72 61 74 65 20 62 | 65 74 77 65 65 6e 20 30 |t rate b|etween 0|
|00005cc0| 20 61 6e 64 20 32 0d 09 | 09 09 73 65 74 20 72 61 | and 2..|..set ra|
|00005cd0| 74 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 63 75 72 |te of wi|ndow cur|
|00005ce0| 72 57 69 6e 64 6f 77 20 | 74 6f 20 6e 65 77 52 61 |rWindow |to newRa|
|00005cf0| 74 65 0d 09 09 65 6e 64 | 20 69 66 09 0d 09 09 73 |te...end| if....s|
|00005d00| 65 6e 64 20 69 64 6c 65 | 20 74 6f 20 77 69 6e 64 |end idle| to wind|
|00005d10| 6f 77 20 63 75 72 72 57 | 69 6e 64 6f 77 0d 09 65 |ow currW|indow..e|
|00005d20| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 6d 6f |nd repea|t.end mo|
|00005d30| 75 73 65 44 6f 77 6e 0d | 55 6e 64 65 72 20 73 6f |useDown.|Under so|
|00005d40| 6d 65 20 63 69 72 63 75 | 6d 73 74 61 6e 63 65 73 |me circu|mstances|
|00005d50| 2c 20 74 68 65 20 61 6d | 6f 75 6e 74 20 6f 66 20 |, the am|ount of |
|00005d60| 6f 76 65 72 68 65 61 64 | 20 75 73 65 64 20 62 79 |overhead| used by|
|00005d70| 20 48 79 70 65 72 43 61 | 72 64 20 28 6f 72 20 6f | HyperCa|rd (or o|
|00005d80| 74 68 65 72 20 68 6f 73 | 74 20 61 70 70 6c 69 63 |ther hos|t applic|
|00005d90| 61 74 69 6f 6e 29 20 6d | 61 79 20 63 61 75 73 65 |ation) m|ay cause|
|00005da0| 20 6d 6f 76 69 65 73 20 | 74 6f 20 6e 6f 74 20 67 | movies |to not g|
|00005db0| 65 74 20 65 6e 6f 75 67 | 68 20 69 64 6c 65 20 74 |et enoug|h idle t|
|00005dc0| 69 6d 65 20 61 6e 64 20 | 74 68 75 73 20 64 65 67 |ime and |thus deg|
|00005dd0| 72 61 64 65 20 70 6c 61 | 79 20 62 61 63 6b 20 70 |rade pla|y back p|
|00005de0| 65 72 66 6f 72 6d 61 6e | 63 65 2e 20 59 6f 75 20 |erforman|ce. You |
|00005df0| 63 61 6e 20 73 70 65 63 | 69 66 79 20 74 68 65 20 |can spec|ify the |
|00005e00| 66 61 73 74 49 64 6c 65 | 20 69 6e 69 74 69 61 6c |fastIdle| initial|
|00005e10| 20 6f 70 74 69 6f 6e 20 | 28 6f 72 20 73 65 74 20 | option |(or set |
|00005e20| 74 68 65 20 66 61 73 74 | 49 64 6c 65 20 70 72 6f |the fast|Idle pro|
|00005e30| 70 65 72 74 79 20 74 6f | 20 74 72 75 65 29 20 61 |perty to| true) a|
|00005e40| 6e 64 20 67 65 74 20 69 | 6d 70 72 6f 76 65 64 20 |nd get i|mproved |
|00005e50| 70 65 72 66 6f 72 6d 61 | 6e 63 65 2e 20 49 66 20 |performa|nce. If |
|00005e60| 79 6f 75 20 73 70 65 63 | 69 66 79 20 74 68 65 20 |you spec|ify the |
|00005e70| 66 61 73 74 49 64 6c 65 | 20 6f 70 74 69 6f 6e 20 |fastIdle| option |
|00005e80| 61 74 20 4f 70 65 6e 4d | 6f 76 69 65 20 74 69 6d |at OpenM|ovie tim|
|00005e90| 65 2c 20 74 68 65 6e 20 | 77 68 65 6e 20 69 64 6c |e, then |when idl|
|00005ea0| 65 20 69 73 20 63 61 6c | 6c 65 64 20 74 68 65 20 |e is cal|led the |
|00005eb0| 58 43 4d 44 20 77 69 6c | 6c 20 67 6f 20 69 6e 74 |XCMD wil|l go int|
|00005ec0| 6f 20 61 20 74 69 67 68 | 74 20 6c 6f 6f 70 20 6b |o a tigh|t loop k|
|00005ed0| 65 65 70 69 6e 67 20 74 | 68 65 20 6d 6f 76 69 65 |eeping t|he movie|
|00005ee0| 20 67 6f 69 6e 67 20 61 | 6e 64 20 77 69 6c 6c 20 | going a|nd will |
|00005ef0| 6e 6f 74 20 72 65 74 75 | 72 6e 20 75 6e 74 69 6c |not retu|rn until|
|00005f00| 20 61 6e 20 4f 53 45 76 | 65 6e 74 20 6f 63 63 75 | an OSEv|ent occu|
|00005f10| 72 73 2e 20 54 68 69 73 | 20 63 61 75 73 65 73 20 |rs. This| causes |
|00005f20| 6d 6f 76 69 65 73 20 74 | 6f 20 70 65 72 66 6f 72 |movies t|o perfor|
|00005f30| 6d 20 62 65 74 74 65 72 | 2c 20 62 75 74 20 6e 6f |m better|, but no|
|00005f40| 74 68 69 6e 67 20 65 6c | 73 65 20 63 61 6e 20 67 |thing el|se can g|
|00005f50| 6f 20 6f 6e 20 61 74 20 | 74 68 65 20 73 61 6d 65 |o on at |the same|
|00005f60| 20 74 69 6d 65 2e 20 54 | 68 65 20 63 75 72 73 6f | time. T|he curso|
|00005f70| 72 20 77 69 6c 6c 20 6e | 6f 74 20 63 68 61 6e 67 |r will n|ot chang|
|00005f80| 65 20 73 68 61 70 65 2e | 20 4f 6e 6c 79 20 6f 6e |e shape.| Only on|
|00005f90| 65 20 6d 6f 76 69 65 20 | 77 69 6c 6c 20 72 75 6e |e movie |will run|
|00005fa0| 20 61 74 20 61 20 74 69 | 6d 65 20 77 68 65 6e 20 | at a ti|me when |
|00005fb0| 66 61 73 74 49 64 6c 65 | 20 69 73 20 61 63 74 69 |fastIdle| is acti|
|00005fc0| 76 65 2e 20 54 68 65 20 | 58 43 4d 44 20 64 6f 65 |ve. The |XCMD doe|
|00005fd0| 73 20 6e 6f 74 20 67 6f | 20 69 6e 74 6f 20 61 20 |s not go| into a |
|00005fe0| 74 69 67 68 74 20 6c 6f | 6f 70 20 77 68 65 6e 20 |tight lo|op when |
|00005ff0| 74 68 65 20 6d 6f 76 69 | 65 20 69 73 20 70 61 75 |the movi|e is pau|
|00006000| 73 65 64 20 6f 72 20 61 | 6e 6f 74 68 65 72 20 61 |sed or a|nother a|
|00006010| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 73 20 62 72 |pplicati|on is br|
|00006020| 6f 75 67 68 74 20 74 6f | 20 74 68 65 20 66 72 6f |ought to| the fro|
|00006030| 6e 74 2e 20 4e 6f 74 65 | 20 74 68 61 74 20 73 69 |nt. Note| that si|
|00006040| 6e 63 65 20 74 68 65 20 | 74 69 67 68 74 20 6c 6f |nce the |tight lo|
|00006050| 6f 70 20 69 73 20 69 6e | 74 65 72 72 75 70 74 65 |op is in|terrupte|
|00006060| 64 20 62 79 20 61 6e 20 | 4f 53 45 76 65 6e 74 2c |d by an |OSEvent,|
|00006070| 20 79 6f 75 20 63 61 6e | 20 73 74 69 6c 6c 20 63 | you can| still c|
|00006080| 6c 69 63 6b 20 6f 6e 20 | 62 75 74 74 6f 6e 73 2c |lick on |buttons,|
|00006090| 20 65 74 63 2e 20 46 61 | 73 74 49 64 6c 65 20 69 | etc. Fa|stIdle i|
|000060a0| 73 20 61 76 61 69 6c 61 | 62 6c 65 20 66 6f 72 20 |s availa|ble for |
|000060b0| 62 6f 74 68 20 44 69 72 | 65 63 74 20 61 6e 64 20 |both Dir|ect and |
|000060c0| 57 69 6e 64 6f 77 20 6d | 6f 76 69 65 73 2e 0d 57 |Window m|ovies..W|
|000060d0| 69 6e 64 6f 77 20 61 6e | 64 20 4d 6f 76 69 65 20 |indow an|d Movie |
|000060e0| 50 6f 73 69 74 69 6f 6e | 69 6e 67 20 61 6e 64 20 |Position|ing and |
|000060f0| 52 65 73 69 7a 69 6e 67 | 0d 54 68 65 72 65 20 61 |Resizing|.There a|
|00006100| 72 65 20 61 20 63 6f 75 | 70 6c 65 20 6f 66 20 61 |re a cou|ple of a|
|00006110| 64 64 69 74 69 6f 6e 61 | 6c 20 69 6e 69 74 69 61 |dditiona|l initia|
|00006120| 6c 20 6f 70 74 69 6f 6e | 73 20 74 68 61 74 20 68 |l option|s that h|
|00006130| 61 76 65 20 61 6e 20 65 | 66 66 65 63 74 20 6f 6e |ave an e|ffect on|
|00006140| 20 74 68 65 20 77 69 6e | 64 6f 77 27 73 20 73 69 | the win|dow's si|
|00006150| 7a 65 2e 20 54 68 65 20 | 63 6c 69 70 54 6f 20 6f |ze. The |clipTo o|
|00006160| 70 74 69 6f 6e 20 63 61 | 75 73 65 73 20 74 68 65 |ption ca|uses the|
|00006170| 20 6d 6f 76 69 65 20 74 | 6f 20 62 65 20 63 6c 69 | movie t|o be cli|
|00006180| 70 70 65 64 20 74 6f 20 | 74 68 65 20 72 65 63 74 |pped to |the rect|
|00006190| 61 6e 67 6c 65 20 70 61 | 72 61 6d 65 74 65 72 20 |angle pa|rameter |
|000061a0| 74 68 61 74 20 6d 75 73 | 74 20 66 6f 6c 6c 6f 77 |that mus|t follow|
|000061b0| 20 74 68 65 20 63 6c 69 | 70 54 6f 20 6b 65 79 77 | the cli|pTo keyw|
|000061c0| 6f 72 64 2e 20 49 66 20 | 74 68 65 20 73 68 6f 77 |ord. If |the show|
|000061d0| 47 72 6f 77 42 6f 78 20 | 6f 70 74 69 6f 6e 20 69 |GrowBox |option i|
|000061e0| 73 20 73 70 65 63 69 66 | 69 65 64 20 74 68 65 6e |s specif|ied then|
|000061f0| 20 74 68 65 20 6d 6f 76 | 69 65 20 63 6f 6e 74 72 | the mov|ie contr|
|00006200| 6f 6c 6c 65 72 20 77 69 | 6c 6c 20 68 61 76 65 20 |oller wi|ll have |
|00006210| 61 20 67 72 6f 77 20 62 | 6f 78 20 77 69 74 68 20 |a grow b|ox with |
|00006220| 77 68 69 63 68 20 74 68 | 65 20 75 73 65 72 20 63 |which th|e user c|
|00006230| 61 6e 20 72 65 73 69 7a | 65 20 74 68 65 20 77 69 |an resiz|e the wi|
|00006240| 6e 64 6f 77 20 61 74 20 | 77 69 6c 6c 2e 0d 54 68 |ndow at |will..Th|
|00006250| 65 20 69 6e 69 74 69 61 | 6c 20 77 69 6e 64 6f 77 |e initia|l window|
|00006260| 20 70 6f 73 69 74 69 6f | 6e 20 69 73 20 64 65 74 | positio|n is det|
|00006270| 65 72 6d 69 6e 65 64 20 | 62 79 20 74 68 65 20 6c |ermined |by the l|
|00006280| 6f 63 61 74 69 6f 6e 20 | 70 61 72 61 6d 65 74 65 |ocation |paramete|
|00006290| 72 20 6f 66 20 74 68 65 | 20 51 54 4d 6f 76 69 65 |r of the| QTMovie|
|000062a0| 20 4f 70 65 6e 4d 6f 76 | 69 65 20 63 61 6c 6c 2e | OpenMov|ie call.|
|000062b0| 20 20 49 66 20 61 20 70 | 6f 69 6e 74 20 6f 72 20 | If a p|oint or |
|000062c0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 70 6f 73 69 74 |one of t|he posit|
|000062d0| 69 6f 6e 69 6e 67 20 6b | 65 79 77 6f 72 64 73 20 |ioning k|eywords |
|000062e0| 28 64 65 65 70 65 73 74 | 2c 20 6d 61 69 6e 2c 20 |(deepest|, main, |
|000062f0| 65 74 63 29 20 69 73 20 | 73 70 65 63 69 66 69 65 |etc) is |specifie|
|00006300| 64 2c 20 74 68 65 6e 20 | 74 68 65 20 73 69 7a 65 |d, then |the size|
|00006310| 20 6f 66 20 74 68 65 20 | 77 69 6e 64 6f 77 20 77 | of the |window w|
|00006320| 69 6c 6c 20 62 65 20 74 | 68 65 20 64 65 66 61 75 |ill be t|he defau|
|00006330| 6c 74 20 73 69 7a 65 20 | 6f 66 20 74 68 65 20 6d |lt size |of the m|
|00006340| 6f 76 69 65 20 28 70 6c | 75 73 20 74 68 65 20 6d |ovie (pl|us the m|
|00006350| 6f 76 69 65 20 63 6f 6e | 74 72 6f 6c 6c 65 72 20 |ovie con|troller |
|00006360| 69 66 20 69 74 20 69 73 | 20 76 69 73 69 62 6c 65 |if it is| visible|
|00006370| 29 2e 20 49 66 20 61 20 | 72 65 63 74 20 69 73 20 |). If a |rect is |
|00006380| 73 70 65 63 69 66 69 65 | 64 20 74 68 65 6e 20 74 |specifie|d then t|
|00006390| 68 65 20 6d 6f 76 69 65 | 20 77 69 6c 6c 20 62 65 |he movie| will be|
|000063a0| 20 73 63 61 6c 65 64 20 | 74 6f 20 66 69 74 20 69 | scaled |to fit i|
|000063b0| 6e 74 6f 20 74 68 65 20 | 73 70 65 63 69 66 69 65 |nto the |specifie|
|000063c0| 64 20 72 65 63 74 61 6e | 67 6c 65 20 61 6e 64 20 |d rectan|gle and |
|000063d0| 74 68 65 20 77 69 6e 64 | 6f 77 20 77 69 6c 6c 20 |the wind|ow will |
|000063e0| 62 65 20 73 69 7a 65 64 | 20 61 63 63 6f 72 64 69 |be sized| accordi|
|000063f0| 6e 67 6c 79 2e 20 54 68 | 65 20 6f 6e 65 20 65 78 |ngly. Th|e one ex|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.